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

From Peter Eisentraut
Subject pgsql: Fix libpq example programs
Date
Msg-id E1fZbH0-00079R-VG@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
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/7bdea6263543c0dabf4d374b3c8d2c3a1d91649e

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