pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Stef <svb@ucs.co.za>
Cc: pgsql-admin@postgresql.org
Subject: Re: Bad dumps...
Date: Tue, 13 Jul 2004 11:40:12 -0400
Message-ID: <16377.1089733212@sss.pgh.pa.us> (raw)
In-Reply-To: <20040713170757.41dfc99b@svb.ucs.co.za>
References: <5.1.0.14.0.20040709093611.05621ea0@mailserver.dmr.co.uk>
	<20040709095738.5738334f@svb.ucs.co.za>
	<5.1.0.14.0.20040709093611.05621ea0@mailserver.dmr.co.uk>
	<5.1.0.14.0.20040709122158.055ac630@mailserver.dmr.co.uk>
	<20040709161641.3e164d8f@svb.ucs.co.za>
	<1089429340.10763.10.camel@localhost.localdomain>
	<20040712095203.333c8aa2@svb.ucs.co.za>
	<20040713124000.49a556a0@svb.ucs.co.za>
	<15686.1089728676@sss.pgh.pa.us>
	<20040713170757.41dfc99b@svb.ucs.co.za>

Stef <svb@ucs.co.za> writes:
> Here's what I did to recreate the problem :
> ...
> Welcome to psql 7.3.4, the PostgreSQL interactive terminal.

Ah.  I was checking it in 7.4.  I thought we'd fixed this issue further
back than 7.4, but some digging in the CVS logs shows not:

2003-10-05 22:38  tgl

	* doc/src/sgml/ref/copy.sgml, src/backend/commands/copy.c: 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.

			regards, tom lane



view thread (10+ messages)

Message-ID: <16377.1089733212@sss.pgh.pa.us>
Permalink:  ../16377.1089733212@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/16377.1089733212@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: tgl@sss.pgh.pa.us, svb@ucs.co.za
  Subject: Re: Bad dumps...
  In-Reply-To: <16377.1089733212@sss.pgh.pa.us>
  References: <5.1.0.14.0.20040709093611.05621ea0@mailserver.dmr.co.uk> <20040709095738.5738334f@svb.ucs.co.za> <5.1.0.14.0.20040709122158.055ac630@mailserver.dmr.co.uk> <20040709161641.3e164d8f@svb.ucs.co.za> <1089429340.10763.10.camel@localhost.localdomain> <20040712095203.333c8aa2@svb.ucs.co.za> <20040713124000.49a556a0@svb.ucs.co.za> <15686.1089728676@sss.pgh.pa.us> <20040713170757.41dfc99b@svb.ucs.co.za> <16377.1089733212@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox