Re: Bug or feature?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Bug or feature?
Дата
Msg-id 1330.1132114073@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Bug or feature?  (Tatsuo Ishii <ishii@sraoss.co.jp>)
Список pgsql-hackers
Tatsuo Ishii <ishii@sraoss.co.jp> writes:
> Hi, I can run following odd command(note that no spaces between 1 and
> where):

> test=# select 1where true;

> Is this a bug or a feature? This is PostgreSQL 8.1.0.

Standard flex lexer behavior.  "1" followed by "w" cannot begin
a legal token, therefore "1" is a token by itself.

This is not really any different from the fact that you can write
"2+2" without any spaces.
        regards, tom lane


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: OS X 7.4 failure
Следующее
От: "Jim C. Nasby"
Дата:
Сообщение: Re: OS X 7.4 failure