Re: Rowtype column and domain subfield with DEFAULT and NOT NULL constraint

Поиск
Список
Период
Сортировка
От Michael Paquier
Тема Re: Rowtype column and domain subfield with DEFAULT and NOT NULL constraint
Дата
Msg-id CAB7nPqRyBLcjqiHKDvaRyCsCSDV2m+rynJThaqXvETA-fx5BMw@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Rowtype column and domain subfield with DEFAULT and NOT NULL constraint  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
On Wed, Mar 12, 2014 at 11:16 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> Julien Tachoires <julien.tachoires@dalibo.com> writes:
>> A customer has reported us a strange behaviour regarding a rowtype
>> column with a domain subfield:
>
> Rowtypes in general do not support defaults for component fields.
And what about adding a TODO item?
Support default values for component fields of rowtypes

We could as well for the time being improve the documentation to
mention that with some examples. For example with some more content on
the page of INSERT.
Regards,
-- 
Michael



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

Предыдущее
От: Michael Paquier
Дата:
Сообщение: Re: Replication slots and footguns
Следующее
От: Christian Kruse
Дата:
Сообщение: Re: Patch: Show process IDs of processes holding a lock; show relation and tuple infos of a lock to acquire