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: | 20060121195920.GO6026@ns.snowman.net |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
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.
Thanks,
Stephen
Attachment | Content-Type | Size |
---|---|---|
pg_restore.ctx.diff | text/plain | 3.0 KB |
From | Date | Subject | |
---|---|---|---|
Next Message | Peter Eisentraut | 2006-01-21 22:49:03 | postmaster/postgres merge for testing |
Previous Message | Tom Lane | 2006-01-21 18:23:47 | Re: BUG #2195: log_min_messages crash server when in DEBUG3 to 5 |