Search Postgresql Archives

Re: escape string type for upcoming 8.1

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Greg Stark wrote:
> 
> Bruce Momjian <pgman@xxxxxxxxxxxxxxxx> writes:
> 
> > E'' is more a marker than a type.  I realize making E a type might work,
> > but it seems unusual.
> > 
> > What we could do is backpatch E'' to 8.0.X as a no-op like it will be in
> > 8.1.
> 
> What happens if someone already has a type called "e" ?

That would be the same problem as someone having a type 'b' or 'x'.  It
would still work, but not for casts like text'str'.  Those letters are
caught in the lexer before getting into to the parser.

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

---------------------------(end of broadcast)---------------------------
TIP 6: explain analyze is your friend

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux