RE: libpq example doesn't work

From: "Ideriha, Takeshi" <ideriha(dot)takeshi(at)jp(dot)fujitsu(dot)com>
To: Peter Eisentraut <peter(dot)eisentraut(at)2ndquadrant(dot)com>, pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: RE: libpq example doesn't work
Date: 2018-07-04 02:28:09
Message-ID: 4E72940DA2BF16479384A86D54D0988A6F130B43@G01JPEXMBKW04
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

>-----Original Message-----
>From: Peter Eisentraut [mailto:peter(dot)eisentraut(at)2ndquadrant(dot)com]
>Sent: Sunday, July 1, 2018 9:17 PM
>To: Ideriha, Takeshi/出利葉 健 <ideriha(dot)takeshi(at)jp(dot)fujitsu(dot)com>; pgsql-hackers
>Subject: Re: libpq example doesn't work
>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
>PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services

Thank you for the commit. I totally missed the large object examples.

Takeshi Ideriha

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Amit Langote 2018-07-04 02:47:05 move PartitionDispatchData definition to execPartition.c
Previous Message Etsuro Fujita 2018-07-04 02:00:46 Re: Expression errors with "FOR UPDATE" and postgres_fdw with partition wise join enabled.