Re: IO wait events for COPY FROM/TO PROGRAM or file

Поиск
Список
Период
Сортировка
От Michael Paquier
Тема Re: IO wait events for COPY FROM/TO PROGRAM or file
Дата
Msg-id aWN54sRhx38nurF6@paquier.xyz
обсуждение исходный текст
Ответ на Re: IO wait events for COPY FROM/TO PROGRAM or file  (Sami Imseih <samimseih@gmail.com>)
Список pgsql-hackers
On Thu, Jan 08, 2026 at 09:22:26PM -0600, Sami Imseih wrote:
> I don't see any issue with this approach for fwrite().

Please feel free to discard my comment, then :)

> Another comment. Wouldn't be better to use "COPY FROM" and "COPY TO" in the
> names to make it more obvious they are related to the COPY command?

Yeah, we had better do that.  That's slightly cleaner for the user if
they mix both COPY types at the same time, not requiring a mental
mapping that FROM is a read and TO is a write.
--
Michael

Вложения

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