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

Re: bytea HISTORY updates

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Joe Conway <joseph(dot)conway(at)home(dot)com>
Cc: "pgsql-patches(at)postgresql(dot)org" <pgsql-patches(at)postgresql(dot)org>
Subject: Re: bytea HISTORY updates
Date: 2001-11-21 03:35:20
Message-ID: 200111210335.fAL3ZKc14353@candle.pha.pa.us (view raw or flat)
Thread:
Lists: pgsql-patches
> Bruce Momjian wrote:
> 
> > Done, but didn't we use to allow \0 for NULL, while we now require \000?
> > 
> > ---------------------------------------------------------------------------
> 
> 
> Thanks!
> 
> I thought I had the \0 to \000 change covered by:
> 
>  >>Add:
>  >>
>  >>Bug Fixes
>  >>  bytea \### now requires valid three digit octal number

Oh, I read that as meaning it now requires _valid_ three digit octal
number.  It really means requires _valid_ _three_ digit octal number. 
I get it.

> 
> The issue before was that, not only was something like \0123 ambiguous 
> (is this \0 followed by the literal 123, or \012 followed by the literal 
> 3?), but also that something like \129 could be input. See:

Yes, that was the issue of requiring three digits.  I just read Perl
guesses based on the context.  Sorry, don't want to go there.  :-)

-- 
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman(at)candle(dot)pha(dot)pa(dot)us               |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026

In response to

pgsql-patches by date

Next:From: Weiping HeDate: 2001-11-21 04:27:59
Subject: Chinese NLS patch, the third try.
Previous:From: Joe ConwayDate: 2001-11-21 03:32:51
Subject: Re: bytea HISTORY updates

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