Re: SERIAL and RULE of "ON INSERT" kind

Поиск
Список
Период
Сортировка
От Stephan Szabo
Тема Re: SERIAL and RULE of "ON INSERT" kind
Дата
Msg-id 20020624174320.X61359-100000@megazone23.bigpanda.com
обсуждение исходный текст
Ответ на SERIAL and RULE of "ON INSERT" kind  ("Tomis³aw Kityñski" <cromax@amiga.pl>)
Список pgsql-general
On Mon, 24 Jun 2002, Tomis�aw Kity�ski wrote:

> Is this a bug? Is there a workaround for this (expect inserting
> data manually...)?

IIRC, rules are effectively rewrites and it's just adding extra
queries to the end before any of the queries are evaluated,
so I'd guess the default wasn't yet evaluated.
You might have better luck with a trigger instead.




В списке pgsql-general по дате отправления:

Предыдущее
От: Oskar Berggren
Дата:
Сообщение: Re: SQL server application porting headache
Следующее
От: "Greg Sabino Mullane"
Дата:
Сообщение: Re: Astonishing explain...!