RE: libpq example doesn't work - Mailing list pgsql-hackers

From Ideriha, Takeshi
Subject RE: libpq example doesn't work
Date
Msg-id 4E72940DA2BF16479384A86D54D0988A6F130B43@G01JPEXMBKW04
Whole thread Raw
In response to Re: libpq example doesn't work  (Peter Eisentraut <peter.eisentraut@2ndquadrant.com>)
List pgsql-hackers

>-----Original Message-----
>From: Peter Eisentraut [mailto:peter.eisentraut@2ndquadrant.com]
>Sent: Sunday, July 1, 2018 9:17 PM
>To: Ideriha, Takeshi/出利葉 健 <ideriha.takeshi@jp.fujitsu.com>; pgsql-hackers
><pgsql-hackers@postgresql.org>
>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              http://www.2ndQuadrant.com/
>PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services
>

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

Regards,
Takeshi Ideriha



pgsql-hackers by date:

Previous
From: Etsuro Fujita
Date:
Subject: Re: Expression errors with "FOR UPDATE" and postgres_fdw with partitionwise join enabled.
Next
From: Amit Langote
Date:
Subject: move PartitionDispatchData definition to execPartition.c