Re: [HACKERS] Bug or feature? COPY ignores column defaults

Поиск
Список
Период
Сортировка
От Vadim Mikheev
Тема Re: [HACKERS] Bug or feature? COPY ignores column defaults
Дата
Msg-id 36B07027.4CEEE72E@krs.ru
обсуждение
Ответ на Bug or feature? COPY ignores column defaults  ("Oliver Elphick" <olly@lfix.co.uk>)
Ответы Re: [HACKERS] Bug or feature? COPY ignores column defaults
Re: [HACKERS] Bug or feature? COPY ignores column defaults
Re: [HACKERS] Bug or feature? COPY ignores column defaults
Список pgsql-hackers
Oliver Elphick wrote:
> 
> At release 6.4.2, COPY does not respect column defaults:
> 
> INSERT works correctly, however.
> 
> Is this intentional, or a bug?

This is standard behaviour. DEFAULT value is sabstituted
only if column value (including NULL) is not specified in 
INSERT statement. 

Vadim


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