Re: Add support for DEFAULT specification in COPY FROM

Поиск
Список
Период
Сортировка
От Israel Barth Rubio
Тема Re: Add support for DEFAULT specification in COPY FROM
Дата
Msg-id CAO_rXXAZHqtto71o6FpE8umXZbCCgQxm20WsBsy=snS9x4yFpw@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Add support for DEFAULT specification in COPY FROM  (Israel Barth Rubio <barthisrael@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  (Andrew Dunstan <andrew@dunslane.net>)
Список pgsql-hackers
Hello all,

I'm submitting a new version of the patch. Instead of changing signature
of several functions in order to use the defaults parameter, it is now storing
that in the cstate structure, which is already passed to all functions that
were previously modified.

Best regards,
Israel.

Em sex., 7 de out. de 2022 às 17:54, Israel Barth Rubio <barthisrael@gmail.com> escreveu:
Hello Zhihong,

> For the last question, please take a look at:
> #define MemSetAligned(start, val, len) \ 
> which is called by palloc0().

Oh, I totally missed that. Thanks for the heads up!

I'm attaching the new patch version, which contains both the fix
to the problem reported by Andres, and removes this useless
MemSet call.

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

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

Предыдущее
От: Andrew Dunstan
Дата:
Сообщение: Re: initdb: Refactor PG_CMD_PUTS loops
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Error-safe user functions