Fix libpq example programs
Peter Eisentraut <peter_e@gmx.net>
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>
Files
| Path | Change | +/− |
|---|---|---|
| doc/src/sgml/libpq.sgml | modified | +2 −2 |
| doc/src/sgml/lobj.sgml | modified | +1 −1 |
| src/test/examples/testlibpq2.c | modified | +1 −1 |
| src/test/examples/testlibpq4.c | modified | +1 −1 |
| src/test/examples/testlibpq.c | modified | +1 −1 |
| src/test/examples/testlo64.c | modified | +1 −1 |
| src/test/examples/testlo.c | modified | +1 −1 |