Re: PATCH: Batch/pipelining support for libpq
От | Craig Ringer |
---|---|
Тема | Re: PATCH: Batch/pipelining support for libpq |
Дата | |
Msg-id | CAMsr+YG5R56PMAAt=AtSAab-5U0Kb0Km+GJRX01atM=fpqc+wQ@mail.gmail.com обсуждение исходный текст |
Ответ на | Re: PATCH: Batch/pipelining support for libpq ("Daniel Verite" <daniel@manitou-mail.org>) |
Ответы |
Re: PATCH: Batch/pipelining support for libpq
|
Список | pgsql-hackers |
On 6 September 2016 at 16:10, Daniel Verite <daniel@manitou-mail.org> wrote: > Craig Ringer wrote: > >> Updated patch attached. > > Please find attached a couple fixes for typos I've came across in > the doc part. Thanks, will apply and post a rebased patch soon, or if someone picks this up in the mean time they can apply your diff on top of the patch. > Also it appears that PQqueriesInBatch() doesn't work as documented. > It says: > "Returns the number of queries still in the queue for this batch" > but in fact it's implemented as a boolean: Whoops. Will fix. I think the function is useful and necessary. There's no reason not to expose that, but also it's good for when your query dispatch isn't as tightly coupled to your query handling as in the example, so your app might need to keep processing until it sees the end of queued results. -- Craig Ringer http://www.2ndQuadrant.com/PostgreSQL Development, 24x7 Support, Training & Services
В списке pgsql-hackers по дате отправления: