Re: BUG #13655: Incorrect Syntax Error

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: BUG #13655: Incorrect Syntax Error
Дата
Msg-id 17682.1443714407@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: BUG #13655: Incorrect Syntax Error  (David <stormbyte@gmail.com>)
Список pgsql-bugs
David <stormbyte@gmail.com> writes:
> Isn't it inconsistent that a thing like: "someField"SMALLINT works
> whether a thing like: "someField""SomeCustomType" is not working?

Well, you can debate how consistent it is, but that behavior is required
by SQL standard.  Per spec, "foo""bar" is a single identifier containing
an embedded double quote (just one).  It's not two adjacent tokens,
whereas "foo"keyword does represent two tokens.

            regards, tom lane

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