pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Alvaro Herrera <alvherre@alvh.no-ip.org>
To: David G. Johnston <david.g.johnston@gmail.com>
To: Daniel Verite <daniel@manitou-mail.org>
Cc: Matthieu Garrigues <matthieu.garrigues@gmail.com>
Cc: Michael Paquier <michael@paquier.xyz>
Cc: Dave Cramer <davecramer@postgres.rocks>
Cc: PostgreSQL-development <pgsql-hackers@postgresql.org>
Cc: Craig Ringer <craig@2ndquadrant.com>
Cc: Vaishnavi Prabakaran <vaishnaviprabakaran@gmail.com>
Cc: Andres Freund <andres@anarazel.de>
Cc: Michael Paquier <michael.paquier@gmail.com>
Cc: Claudio Freire <klaussfreire@gmail.com>
Cc: Heikki Linnakangas <heikki.linnakangas@iki.fi>
Subject: Re: PATCH: Batch/pipelining support for libpq
Date: Thu, 21 Jan 2021 20:43:26 -0300
Message-ID: <20210121234326.GA18684@alvherre.pgsql> (raw)
In-Reply-To: <20210121233930.GA16358@alvherre.pgsql>

As you can see in an XXX comment in the libpq test program, the current
implementation has the behavior that PQgetResult() returns NULL after a
batch is finished and has reported PGRES_BATCH_END.  I don't know if
there's a hard reason to do that, but I'd like to supress it because it
seems weird and out of place.

-- 
Álvaro Herrera                            39°49'30"S 73°17'W





view thread (182+ messages)  latest in thread

Message-ID: <20210121234326.GA18684@alvherre.pgsql>
Permalink:  ../20210121234326.GA18684@alvherre.pgsql/
Also on:    postgresql.org/message-id/20210121234326.GA18684@alvherre.pgsql

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-hackers@postgresql.org
  Cc: alvherre@alvh.no-ip.org, david.g.johnston@gmail.com, daniel@manitou-mail.org, matthieu.garrigues@gmail.com, michael@paquier.xyz, davecramer@postgres.rocks, craig@2ndquadrant.com, vaishnaviprabakaran@gmail.com, andres@anarazel.de, michael.paquier@gmail.com, klaussfreire@gmail.com, heikki.linnakangas@iki.fi
  Subject: Re: PATCH: Batch/pipelining support for libpq
  In-Reply-To: <20210121234326.GA18684@alvherre.pgsql>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox