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

Re: byteain bug(?)

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Joe Conway <joseph(dot)conway(at)home(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: byteain bug(?)
Date: 2001-09-07 04:24:14
Message-ID: 200109070424.f874OEQ25507@candle.pha.pa.us (view raw or flat)
Thread:
Lists: pgsql-hackers
> > > It checks for a '\' followed by three digits, but does not attempt to
> > > enforce that the three digits actually produce a valid octal number.
> Anyone
> > > object to me fixing this?
> > >
> 
> Based on the thread this morning on patches, I was thinking we should allow
> '\\', '\0', or '\###' where ### is any valid octal. At least that's what I
> was going to have decode(bytea, 'escape') handle.

Yep, it is way too open right now.

-- 
  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

Responses

pgsql-hackers by date

Next:From: Bruce MomjianDate: 2001-09-07 04:30:24
Subject: Re: [HACKERS] JDBC pg_description update needed for CVS tip
Previous:From: Joe ConwayDate: 2001-09-07 04:23:21
Subject: Re: byteain bug(?)

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