Fix libpq example programs

Peter Eisentraut <peter_e@gmx.net>

Commit: d7e5805399b4e699bcb6aa2d90d442ce60c3f072
Author: Peter Eisentraut <peter_e@gmx.net>
Date: 2018-07-01T12:09:11Z
Releases: 9.6.10
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

Documentation touched