pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Peter Eisentraut <peter_e@gmx.net>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Fix libpq example programs
Date: Sun, 01 Jul 2018 12:16:10 +0000
Message-ID: <E1fZbH0-00079b-VJ@gemulon.postgresql.org> (raw)

Fix libpq example programs

When these programs call pg_catalog.set_config, they need to check for
PGRES_TUPLES_OK instead of PGRES_COMMAND_OK.  Fix for
5770172cb0c9df9e6ce27c507b449557e5b45124.

Reported-by: Ideriha, Takeshi <ideriha.takeshi@jp.fujitsu.com>

Branch
------
REL9_4_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/2a4dca949109dae3b95c5f4d55462fd4e6673310

Modified Files
--------------
doc/src/sgml/libpq.sgml        | 4 ++--
doc/src/sgml/lobj.sgml         | 2 +-
src/test/examples/testlibpq.c  | 2 +-
src/test/examples/testlibpq2.c | 2 +-
src/test/examples/testlibpq4.c | 2 +-
src/test/examples/testlo.c     | 2 +-
src/test/examples/testlo64.c   | 2 +-
7 files changed, 8 insertions(+), 8 deletions(-)



view thread (7+ messages)  latest in thread

Message-ID: <E1fZbH0-00079b-VJ@gemulon.postgresql.org>
Permalink:  ../E1fZbH0-00079b-VJ@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1fZbH0-00079b-VJ@gemulon.postgresql.org

 · 

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: peter_e@gmx.net
  Subject: Re: pgsql: Fix libpq example programs
  In-Reply-To: <E1fZbH0-00079b-VJ@gemulon.postgresql.org>
  References: <E1fZbH0-00079b-VJ@gemulon.postgresql.org>

* 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