Re: pgsql-server/ oc/src/sgml/ref/copy.sgml rc/bac ... - Mailing list pgsql-committers

From Neil Conway
Subject Re: pgsql-server/ oc/src/sgml/ref/copy.sgml rc/bac ...
Date
Msg-id 1065411243.473.26.camel@tokyo
Whole thread Raw
In response to pgsql-server/ oc/src/sgml/ref/copy.sgml rc/bac ...  (tgl@svr1.postgresql.org (Tom Lane))
Responses Re: pgsql-server/ oc/src/sgml/ref/copy.sgml rc/bac ...
List pgsql-committers
On Sun, 2003-10-05 at 22:38, Tom Lane wrote:
>     Modify COPY FROM to match the null-value string against the column value
>     before it is de-backslashed, not after.  This allows the null string \N
>     to be reliably distinguished from the data value \N (which must be
>     represented as \\N).  Per bug report from Manfred Koizar ... but it's
>     amazing this hasn't been reported before ...
>     Also, be consistent about encoding conversion for null string: the form
>     specified in the command is in the server encoding, but what is sent
>     to/from client must be in client encoding.  This never worked quite
>     right before either.

Should either of these be backpatched to 7.3?

-Neil



pgsql-committers by date:

Previous
From: tgl@svr1.postgresql.org (Tom Lane)
Date:
Subject: pgsql-server/ oc/src/sgml/ref/copy.sgml rc/bac ...
Next
From: Tom Lane
Date:
Subject: Re: pgsql-server/ oc/src/sgml/ref/copy.sgml rc/bac ...