Re: some pg_dump query code simplification - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: some pg_dump query code simplification
Date
Msg-id 9700dff7-f05a-9129-09ab-a9be54903d6b@2ndquadrant.com
Whole thread Raw
In response to Re: some pg_dump query code simplification  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: some pg_dump query code simplification
List pgsql-hackers
On 28/08/2018 23:43, Tom Lane wrote:
> I think I had this discussion already with somebody, but ... I do not
> like this style at all:
> 
>             tbinfo->attidentity[j] = (i_attidentity >= 0 ? *(PQgetvalue(res, j, i_attidentity)) : '\0');

OK, updated patch attached.  If the updated style is acceptable, I'll
start running more extensive tests against the older branches.

-- 
Peter Eisentraut              http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services

Attachment

pgsql-hackers by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: Removing useless \. at the end of copy in pgbench
Next
From: Tom Lane
Date:
Subject: Re: buildfarm: could not read block 3 in file "base/16384/2662": read only 0 of 8192 bytes