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

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

From: Neil Conway <neilc(at)samurai(dot)com>
To: Tom Lane <tgl(at)svr1(dot)postgresql(dot)org>
Cc: pgsql-committers(at)postgresql(dot)org
Subject: Re: pgsql-server/ oc/src/sgml/ref/copy.sgml rc/bac ...
Date: 2003-10-06 03:34:03
Message-ID: 1065411243.473.26.camel@tokyo (view raw, whole thread or download thread mbox)
Lists: 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?


In response to


pgsql-committers by date

Next:From: Tom LaneDate: 2003-10-06 04:02:45
Subject: Re: pgsql-server/ oc/src/sgml/ref/copy.sgml rc/bac ...
Previous:From: Tom LaneDate: 2003-10-06 02:38:53
Subject: pgsql-server/ oc/src/sgml/ref/copy.sgml rc/bac ...

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