Re: COPY fast parse patch - Mailing list pgsql-patches

From Bruce Momjian
Subject Re: COPY fast parse patch
Date
Msg-id 200506020120.j521K6U05680@candle.pha.pa.us
Whole thread Raw
In response to COPY fast parse patch  ("Alon Goldshuv" <agoldshuv@greenplum.com>)
List pgsql-patches
Alon Goldshuv wrote:
> 5) Data integrity and escaping improvements. Treats all characters as data
> (unless it's an escaped delim or EOL) and therefore data
> integrity is preserved. However, some people that already got
> used to the postgres COPY escaping way may want to keep it. They could do so
> by still using the old COPY.

OK, if the COPY file contains:

    \n\||\r\\a|\N

and the delimiter is '|', what does that represent?  What if there were
a literal '\' followed by a '|' in the data table being dumped?

--
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073

pgsql-patches by date:

Previous
From: Christopher Kings-Lynne
Date:
Subject: Re: patch for between symmetric, asymmetric (from TODO)
Next
From: Neil Conway
Date:
Subject: Re: O_DIRECT for WAL writes