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

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: [HACKERS] Bug or feature? COPY ignores column defaults
Дата
Msg-id 23083.917538105@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: [HACKERS] Bug or feature? COPY ignores column defaults  (Vadim Mikheev <vadim@krs.ru>)
Список pgsql-hackers
Vadim Mikheev <vadim@krs.ru> writes:
> 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.

As it must be, or dumping/reloading a table via COPY would
fail to preserve null fields in columns with defaults.
        regards, tom lane


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

Предыдущее
От: "Oliver Elphick"
Дата:
Сообщение: Re: [HACKERS] Bug or feature? COPY ignores column defaults
Следующее
От: Tom Lane
Дата:
Сообщение: Re: [HACKERS] new heap manager mmalloc