>-Original Message-
>From: Peter Eisentraut [mailto:peter.eisentr...@2ndquadrant.com]
>Sent: Sunday, July 1, 2018 9:17 PM
>To: Ideriha, Takeshi/出利葉 健 ; pgsql-hackers
>
>Subject: Re: libpq example doesn't work
>
>On 27.06.18 08:29, Ideriha, Takeshi wrote:
&g
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 cas
Hi,
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.
Patch attached.
I changed both src/test/example and document.
[1] https://www.postgr