Re: [COMMITTERS] pgsql: Arrange for quote_identifier() and pg_dump to not quote keywords

Поиск
Список
Период
Сортировка
От Gregory Stark
Тема Re: [COMMITTERS] pgsql: Arrange for quote_identifier() and pg_dump to not quote keywords
Дата
Msg-id 87myymhg7k.fsf@oxford.xeocode.com
обсуждение исходный текст
Ответ на Re: [COMMITTERS] pgsql: Arrange for quote_identifier() and pg_dump to not quote keywords  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: [COMMITTERS] pgsql: Arrange for quote_identifier() and pg_dump to not quote keywords  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
"Tom Lane" <tgl@sss.pgh.pa.us> writes:

> Yeah.  I'm disinclined to pre-emptively quote things for pie-in-the-sky
> patches.  WITH is already a grammar keyword, so it's not a big deal to
> tweak things to quote it, but adding a dozen keywords that have zero
> functionality in the grammar is another thing entirely.

Sure.

> Also, the fact that this particular form of the grammar requires
> reserving the keywords does not prove that there is no way to have the
> features without that.  I'd want to see us try a little harder first.

At least some of them are unavoidable conflicts:

select a,b,count(*) from tab GROUP BY cube(a,b)
select a,b,count(*) from tab GROUP BY rollup(a,b)

--  Gregory Stark EnterpriseDB          http://www.enterprisedb.com



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

Предыдущее
От: Andrew Dunstan
Дата:
Сообщение: Re: [COMMITTERS] pgsql: Arrange for quote_identifier() and pg_dump to not quote keywords
Следующее
От: Tom Lane
Дата:
Сообщение: Re: [PATCHES] New Zealand - TZ change