Re: Add PQsendSyncMessage() to libpq

2024-01-18 Thread Anton Kirilov
pipelining support to libpq - perhaps it ought to be updated? Best wishes, Anton Kirilov

Re: Add PQsendSyncMessage() to libpq

2023-11-12 Thread Anton Kirilov
ach after all), so here is the updated version of the patch. Best wishes, Anton KirilovFrom b752269b2763f8d66bcfc79faf751e52226c344b Mon Sep 17 00:00:00 2001 From: Anton Kirilov Date: Wed, 22 Mar 2023 20:39:57 + Subject: [PATCH v5] Add PQsendPipelineSync() to libpq This new functio

Re: Add PQsendSyncMessage() to libpq

2023-07-05 Thread Anton Kirilov
Hello, On 05/07/2023 21:45, Daniel Gustafsson wrote: Please rebase and send an updated version. Here it is (including the warning fix). Thanks, Anton KirilovFrom 3c2e064a151568830e4d9e4bf238739b458350b4 Mon Sep 17 00:00:00 2001 From: Anton Kirilov Date: Wed, 22 Mar 2023 20:39:57 +

Re: Add PQsendSyncMessage() to libpq

2023-05-21 Thread Anton Kirilov
runid=e6dd1abd-7aa2-4846-9b44-d8fd8a23d385&l=zik0zi-35r&w=zhb2tb-zik0zj-zik0zj-sf&test=db (ordered chronologically; the first 2 did not include my optimization) Best wishes, Anton Kirilov

Re: Add PQsendSyncMessage() to libpq

2023-05-21 Thread Anton Kirilov
Hello, On 05/05/2023 16:02, Anton Kirilov wrote: On Thu, 4 May 2023, 11:36 Alvaro Herrera, <mailto:alvhe...@alvh.no-ip.org>> wrote: On 2023-May-04, Anton Kirilov wrote: If you want to make sure it's fully flushed, your only option is to have the call block.

Re: Add PQsendSyncMessage() to libpq

2023-05-05 Thread Anton Kirilov
Hello, On Thu, 4 May 2023, 11:36 Alvaro Herrera, mailto:alvhe...@alvh.no-ip.org>> wrote: > On 2023-May-04, Anton Kirilov wrote: > If you want to make sure it's fully flushed, your only option is to have > the call block. Surely PQflush() returning 0 would signify that the ou

Re: Add PQsendSyncMessage() to libpq

2023-05-04 Thread Anton Kirilov
e? Am I just misunderstanding what the code comment means and how the API is supposed to be used by any chance? Best wishes, Anton Kirilov

Re: Add PQsendSyncMessage() to libpq

2023-04-29 Thread Anton Kirilov
nuous benchmarking environment, which has a proper set up with 3 servers (client, application server, and database) connected by a 10GbE link. Best wishes, Anton Kirilov

Re: Add PQsendSyncMessage() to libpq

2023-04-29 Thread Anton Kirilov
Hello, On 28/04/2023 13:06, Robert Haas wrote: On Fri, Mar 24, 2023 at 6:39 PM Anton Kirilov wrote: I have attached a patch that introduces PQsendSyncMessage()... I wonder whether this is the naming that we want. The two names are significantly different. Something like PQpipelineSendSync

Re: Add PQsendSyncMessage() to libpq

2023-04-26 Thread Anton Kirilov
omments, of course), and that it passes the tests, i.e.: make check make -C src/test/modules/libpq_pipeline check Best wishes, Anton Kirilov From 7aef7b2cf1ffea0786ab1fb4eca9d85ce7242cf0 Mon Sep 17 00:00:00 2001 From: Anton Kirilov Date: Wed, 22 Mar 2023 20:39:57 + Subject: [PATCH v2] Add PQsend

Add PQsendSyncMessage() to libpq

2023-03-24 Thread Anton Kirilov
the system call overhead of libpq's pipeline mode, it also makes it easier for the operating system to send as much of the pipeline as possible in a single TCP (or lower level protocol) packet when the database is running remotely. I would appeciate your thoughts on my proposal. Best wishes, Ant