On 27.06.18 08:29, Ideriha, Takeshi wrote: > When I tried to use libpq, I found that libpq example[1] does not work. > That's because SELECT pg_catlog.set_config() never returns PGRES_COMMAND_OK > which is expected, > but actually returns PGRES_TUPLES_OK.
Fixed. There were additional similar cases that I fixed also. -- Peter Eisentraut http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services