Re: Bad dumps... - Mailing list pgsql-admin

From Tom Lane
Subject Re: Bad dumps...
Date
Msg-id 15686.1089728676@sss.pgh.pa.us
Whole thread Raw
In response to Re: Bad dumps...  (Stef <svb@ucs.co.za>)
Responses Re: Bad dumps...  (Stef <svb@ucs.co.za>)
List pgsql-admin
Stef <svb@ucs.co.za> writes:
> I found that it was actually a '\\N' value only that causes
> dumps to dump successfully, but fail on import (When using COPY),
> because both '\N' and '\\N' are seen as null by the COPY statement.

This is demonstrably not so.  You might have trouble with data coming
from somewhere else, if the source doesn't understand the quoting rules
for COPY data.  But I can dump and restore a table containing '\N' and
variants of that without any trouble.

            regards, tom lane

pgsql-admin by date:

Previous
From: Mitch Pirtle
Date:
Subject: Re: [PHP] Secure DB Systems - How to
Next
From: Stef
Date:
Subject: Re: Bad dumps...