Re: factorial function/phase out postfix operators?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: factorial function/phase out postfix operators?
Дата
Msg-id 517075.1600457478@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: factorial function/phase out postfix operators?  (Robert Haas <robertmhaas@gmail.com>)
Ответы Re: factorial function/phase out postfix operators?
Список pgsql-hackers
Robert Haas <robertmhaas@gmail.com> writes:
> On Fri, Sep 18, 2020 at 2:11 PM Tom Lane <tgl@sss.pgh.pa.us> wrote:
>> What I now propose is to add two output columns:
>> 
>> barelabel bool  (t or f, obviously)
>> baredesc text   ("can be bare label" or "requires AS", possibly localized)

> That might be over-engineered in a vacuum, but it seems like it may be
> cleaner to stick with the existing precedent than to diverge from it.

Yeah, my recollection of the pg_get_keywords design is that we couldn't
agree on whether to emit a machine-friendly description or a
human-friendly one, so we compromised by doing both :-(.  But the same
factors exist with this addition --- you can make an argument for
preferring either boolean or text output.

            regards, tom lane



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

Предыдущее
От: Robert Haas
Дата:
Сообщение: Re: factorial function/phase out postfix operators?
Следующее
От: Mark Dilger
Дата:
Сообщение: Re: speed up unicode normalization quick check