Re: quotes in SET grammar

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: quotes in SET grammar
Дата
Msg-id 531.1014742756@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: quotes in SET grammar  (Thomas Lockhart <thomas@fourpalms.org>)
Список pgsql-hackers
>>> I think it would be best to disallow the double-quoted form...

Actually, on second thought that argument holds no water at all.
If we tried to extend SET to accept expressions, we'd have to break
compatibility with its acceptance of unquoted words, so breaking
the interpretation of double-quoted words too is no biggie.  Certainly
there's no point in going through a lot of lexer and parser pushups
to disallow double-quoted words here.

So now my thought is not to document double-quote, but not to go out
of our way to disallow it either.

I still agree that all forms of SET should be consistent about what
they will take.
        regards, tom lane


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

Предыдущее
От: Thomas Lockhart
Дата:
Сообщение: Re: quotes in SET grammar
Следующее
От: Tom Lane
Дата:
Сообщение: Re: quotes in SET grammar