Re: [HACKERS] Proposal for new SET variables for optimizer costs

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: [HACKERS] Proposal for new SET variables for optimizer costs
Дата
Msg-id 16041.949793483@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: [HACKERS] Proposal for new SET variables for optimizer costs  (Philip Warner <pjw@rhyme.com.au>)
Ответы Re: [HACKERS] Proposal for new SET variables for optimizer costs  (Philip Warner <pjw@rhyme.com.au>)
Список pgsql-hackers
Philip Warner <pjw@rhyme.com.au> writes:
> Any chance of prefixing the 'set' variable names with 'PG_' or 'PG_OPT_' or
> something similar? Or doing something else to differentiate them from
> user-declared SQL variables?

I see no need to do that, since the *only* place these names exist is
in the SET command (and its friends SHOW and RESET), and SET exists only
to set system control variables.  There are no user-declared SQL
variables.

The names are quite long and underscore-filled enough without adding
unnecessary prefixes, IMHO ;-)
        regards, tom lane


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

Предыдущее
От: Philip Warner
Дата:
Сообщение: Re: [HACKERS] Proposal for new SET variables for optimizer costs
Следующее
От: Chris
Дата:
Сообщение: Re: Status of inheritance-changing patch