Re: tuple count and v3 functions in psql for COPY
- From: Volkan YAZICI <yazicivo(at)ttnet(dot)net(dot)tr>
- To: pgsql-patches(at)postgresql(dot)org
- Subject: Re: tuple count and v3 functions in psql for COPY
- Date: Fri, 30 Dec 2005 14:55:32 +0200
- Message-id: <20051230125532.GA519@alamut> <text/plain>
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.
Home |
Main Index |
Thread Index