Re: How to enforce the use of the sequence for serial columns ?

Поиск
Список
Период
Сортировка
От Marc Mamin
Тема Re: How to enforce the use of the sequence for serial columns ?
Дата
Msg-id CA896D7906BF224F8A6D74A1B7E54AB3198760@JENMAIL01.ad.intershop.net
обсуждение исходный текст
Ответ на How to enforce the use of the sequence for serial columns ?  ("Marc Mamin" <M.Mamin@intershop.de>)
Список pgsql-admin

>Trigger based solution where same trig can be used for any number of
tables by changing the parameter.

>Will throw one of 2 exceptions on failure to use sequence for the
insert.


Many thanks,
This seems to be the simplest solution,

Marc

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

Предыдущее
От: "Rajesh Kumar Mallah"
Дата:
Сообщение: Re: Should duplicate indexes on same column and same table be allowed?
Следующее
От: "Eduardo J. Ortega"
Дата:
Сообщение: Re: Backup