Re: libpq example doesn't work

From: Peter Eisentraut <peter(dot)eisentraut(at)2ndquadrant(dot)com>
To: "Ideriha, Takeshi" <ideriha(dot)takeshi(at)jp(dot)fujitsu(dot)com>, pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: libpq example doesn't work
Date: 2018-07-01 12:16:53
Message-ID: 79c739a1-f325-b8eb-065f-8cf31da4d0c4@2ndquadrant.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Peter Eisentraut 2018-07-01 12:54:18 Re: patch to allow disable of WAL recycling
Previous Message Sergei Kornilov 2018-07-01 11:45:22 Re: Continue work on changes to recovery.conf API