From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | Stephen Frost <sfrost(at)snowman(dot)net> |
Cc: | pgsql-committers(at)postgresql(dot)org |
Subject: | Re: pgsql: Minor pg_dump improvements |
Date: | 2014-02-09 23:15:17 |
Message-ID: | 32026.1391987717@sss.pgh.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers |
Stephen Frost <sfrost(at)snowman(dot)net> writes:
> * Tom Lane (tgl(at)sss(dot)pgh(dot)pa(dot)us) wrote:
>> grep shows me a couple of other places where the result of ftello doesn't
>> seem to be getting checked for error. Odd that Coverity didn't notice
>> those.
> At least two of those are in a #if 0 block... since 2001
> (pg_backup_tar.c:_tarGetHeader). I'm thinking we may be better off
> removing that code rather than continuing to pull it along
Works for me.
> The last is inside a snprintf() which is just building a string to call
> exit_horribly() with- seems like that's safe enough?
Agreed. Printing -1 seems like appropriate behavior there.
regards, tom lane
From | Date | Subject | |
---|---|---|---|
Next Message | Stephen Frost | 2014-02-09 23:30:38 | pgsql: Further pg_dump / ftello improvements |
Previous Message | Stephen Frost | 2014-02-09 23:13:10 | Re: pgsql: Minor pg_dump improvements |