Re: SERIAL type's sequence is double-called or ?

Поиск
Список
Период
Сортировка
От Richard Huxton
Тема Re: SERIAL type's sequence is double-called or ?
Дата
Msg-id 46E1625F.4070701@archonet.com
обсуждение исходный текст
Ответ на SERIAL type's sequence is double-called or ?  (Aleksandr Vinokurov <aleksandr.vin@gmail.com>)
Список pgsql-sql
Aleksandr Vinokurov wrote:
> 
> Logging will be done with this rule:
> 
> create or replace rule chuwee_rule as on insert to chuwee
> do insert into chuwee_log (num, mesg)
>    values (new.num, new.mesg);

Don't do logging with rules, do logging with triggers.

See mailing-list archives for details.

--   Richard Huxton  Archonet Ltd


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: to_date function
Следующее
От: "A. Kretschmer"
Дата:
Сообщение: Re: to_date function