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(-)
Соглашаюсь с условиями обработки персональных данных