Skip site navigation (1) Skip section navigation (2)

pg_restore COPY error handling

From: Stephen Frost <sfrost(at)snowman(dot)net>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, pgsql-patches(at)postgresql(dot)org
Subject: pg_restore COPY error handling
Date: 2006-01-21 19:59:20
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-patches
* Stephen Frost (sfrost(at)snowman(dot)net) wrote:
> Needs to be changed to handle whitespace in front of the actual 'COPY',
> unless someone else has a better idea.  This should be reasonably
> trivial to do though...  If you'd like me to make that change and send
> in a new patch, just let me know.

Fixed, using isspace().  Also added an output message to make it a bit
clearer when a failed COPY has been detected, etc.

Updated patch attached.




pgsql-patches by date

Next:From: Peter EisentrautDate: 2006-01-21 22:49:03
Subject: postmaster/postgres merge for testing
Previous:From: Tom LaneDate: 2006-01-21 18:23:47
Subject: Re: BUG #2195: log_min_messages crash server when in DEBUG3 to 5

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group