Re: Add support for DEFAULT specification in COPY FROM

Поиск
Список
Период
Сортировка
От Israel Barth Rubio
Тема Re: Add support for DEFAULT specification in COPY FROM
Дата
Msg-id CAO_rXXARfeAdjcqLMPo2+y38sS6HqVYqFaJCT5-bLvGRAv7qgg@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Add support for DEFAULT specification in COPY FROM  (Andrew Dunstan <andrew@dunslane.net>)
Ответы Re: Add support for DEFAULT specification in COPY FROM  (Zhihong Yu <zyu@yugabyte.com>)
Re: Add support for DEFAULT specification in COPY FROM  (Andres Freund <andres@anarazel.de>)
Список pgsql-hackers
Hello Andrew,

> . There needs to be a check that this is being used with COPY FROM, and
> the restriction needs to be stated in the docs and tested for. c.f.
> FORCE NULL.

> . There needs to be support for this in psql's tab_complete.c, and
> appropriate tests added

> . There needs to be support for it in contrib/file_fdw/file_fdw.c, and a
> test added

> . The tests should include psql's \copy as well as sql COPY

> . I'm not sure we need a separate regression test file for this.
> Probably these tests can go at the end of src/test/regress/sql/copy2.sql.

Thanks for your review! I have applied the suggested changes, and I'm
submitting the new patch version.

Kind regards,
Israel.
Вложения

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

Предыдущее
От: "Jonathan S. Katz"
Дата:
Сообщение: PostgreSQL 15 GA release date
Следующее
От: James Coleman
Дата:
Сообщение: Re: Consider parallel for lateral subqueries with limit