pgsql: Handle empty result set in libpqrcv_exec

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Handle empty result set in libpqrcv_exec
Date: 2017-03-24 12:50:34
Message-ID: E1crOfq-0006LW-28@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Handle empty result set in libpqrcv_exec

Always return tupleslot and tupledesc from libpqrcv_exec. This avoids
requiring callers to handle that separately.

Author: Petr Jelinek <petr(dot)jelinek(at)2ndquadrant(dot)com>
Reported-by: Michael Banck <michael(dot)banck(at)credativ(dot)de>

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/8398c836892fde2b99139cc4711e57b7e59582b6

Modified Files
--------------
src/backend/replication/libpqwalreceiver/libpqwalreceiver.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2017-03-24 13:26:34 Re: pgsql: ICU support
Previous Message Dave Page 2017-03-24 11:35:19 Re: [COMMITTERS] pgsql: Fix and simplify check for whether we're running as Windows serv