Re: escape string type for upcoming 8.1
От | Bruce Momjian |
---|---|
Тема | Re: escape string type for upcoming 8.1 |
Дата | |
Msg-id | 200508101919.j7AJJMe10424@candle.pha.pa.us обсуждение исходный текст |
Ответ на | Re: escape string type for upcoming 8.1 (Greg Stark <gsstark@mit.edu>) |
Ответы |
Re: escape string type for upcoming 8.1
|
Список | pgsql-general |
Greg Stark wrote: > > Bruce Momjian <pgman@candle.pha.pa.us> 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@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-general по дате отправления: