Re: tuple count and v3 functions in psql for COPY

Поиск
Список
Период
Сортировка
От Volkan YAZICI
Тема Re: tuple count and v3 functions in psql for COPY
Дата
Msg-id 20051230125532.GA519@alamut
обсуждение исходный текст
Ответ на Re: tuple count and v3 functions in psql for COPY  (Volkan YAZICI <yazicivo@ttnet.net.tr>)
Список pgsql-patches
I've just realized an exception in the sending data while using
PQsendCopyData(). Function's blocking behaviour is not guaranteed,
therefore a

    if (PQisnonblocking())
        PQsetnonblocking(conn, 0)

kind of phrase required before using PQsendCopyData(). But after a
small investigation, found that both psql and pg_dump runs in
blocking mode - without any PQsetnonblocking() call. Thus, AFAIC,
above phrase isn't necessary.

FYI. Just wanted to inform. Any comments are welcome.


Regards.

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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: [HACKERS] status of concurrent VACUUM patch ...
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: [BUGS] Solaris cc compiler on amd: PostgreSQL does not have native