Re: Lexing with different charsets

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: Lexing with different charsets
Дата
Msg-id 200404132118.55010.peter_e@gmx.net
обсуждение исходный текст
Ответ на Re: Lexing with different charsets  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Lexing with different charsets  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
Tom Lane wrote:
> Dennis Bjorklund <db@zigo.dhs.org> writes:
> > My next question is about lexing. The spec says that one can use
> > strings of different charsets in the queries, like:
> >   ... WHERE field1 = _latin1'FooBar' and field2 = _utf8'Åäö'
> > I can see that the lexer either needs to be taught about all the
> > different charsets or this is not going to work very well.
>
> Yeah.  I'm not sure that we're ever going to support that part of the
> spec; doing so would break too many useful things without adding very
> much useful functionality.

Like what?  I think it could be fairly useful.  We would have to 
restrict ourselves to character sets that are supersets of ASCII, but 
there are boatloads of reasons to do that besides this issue.



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: FRONTEND in ecpg
Следующее
От: Dennis Bjorklund
Дата:
Сообщение: Re: Lexing with different charsets