Re: default values in inheritance hierarchies

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: default values in inheritance hierarchies
Дата
Msg-id 20863.1330383109@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: default values in inheritance hierarchies  (Miroslav Šimulčík <simulcik.miro@gmail.com>)
Список pgsql-hackers
Miroslav Šimulčík <simulcik.miro@gmail.com> writes:
> Is there any way how to force UPDATE to use default value of ID column from
> table a2 when updating rows in this table, without using triggers?

No.  The update is expanded using the default expression applicable to
the table that is named in the update command (ie, the parent).
        regards, tom lane


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

Предыдущее
От: Christopher Browne
Дата:
Сообщение: Re: leakproof
Следующее
От: "Kevin Grittner"
Дата:
Сообщение: Re: Trigger execution role (was: Triggers with DO functionality)