Re: "COPY FROM" recognize \xDD sequence - addition to copy.c

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Igor Georgiev <gory(at)alphasoft-bg(dot)com>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: "COPY FROM" recognize \xDD sequence - addition to copy.c
Date: 2002-10-17 03:58:14
Message-ID: 200210170358.g9H3wFQ13261@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Tom Lane wrote:
> Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> writes:
> > Right now we assume \XXX is octal. We could support \x as hex because
> > \x isn't any special backslash character. However, no one has ever
> > asked for this. Does anyone else think this would be benficial?
>
> Well, it seems pretty localized and harmless. If it lets us import
> Sybase dumps, doesn't that boost our plans for world domination? ;-)

Yes, it does. I will add it to TODO:

o Allow copy to understand \x as hex

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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2002-10-17 04:05:51 Re: PL/Perl and Perl 5.8
Previous Message Tom Lane 2002-10-17 03:25:57 Re: "COPY FROM" recognize \xDD sequence - addition to copy.c