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_5_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/d5ad0e19d16b66f18b5be87d30dacc8204c238ce 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:
Соглашаюсь с условиями обработки персональных данных