Re: pg_dump end comment - Mailing list pgsql-hackers

From Christopher Kings-Lynne
Subject Re: pg_dump end comment
Date
Msg-id 406A20A4.6020502@familyhealth.com.au
Whole thread Raw
In response to Re: pg_dump end comment  (Gavin Sherry <swm@linuxworld.com.au>)
List pgsql-hackers
>>I like an end-of-dump marker for folks who want to check if the dump got
>>truncated somehow.  I can see how to do that for text dumps, but what
>>about for tar or custom dumps?
> 
> Wouldn't it be more effective to test for non zero return status as this
> handles -Fc cases, etc, which would be non-trivial to test.

That assumes you are there at the time of dump...

Chris



pgsql-hackers by date:

Previous
From: Philip Warner
Date:
Subject: Re: pg_dump end comment
Next
From: Bruce Momjian
Date:
Subject: Re: logging statement levels