pgsql: Fix libpq example programs - Mailing list pgsql-committers

From Peter Eisentraut
Subject pgsql: Fix libpq example programs
Date
Msg-id E1fZbH0-00079b-VJ@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
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(-)


pgsql-committers by date:

Previous
From: Andrew Dunstan
Date:
Subject: pgsql: Use more modern instructions for creating a new dev cycle
Next
From: Peter Eisentraut
Date:
Subject: pgsql: pg_standby: Remove code for .backup files