Re: [RFC] Extend namespace of valid guc names

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: [RFC] Extend namespace of valid guc names
Дата
Msg-id 2562.1378493313@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: [RFC] Extend namespace of valid guc names  (Andres Freund <andres@2ndquadrant.com>)
Ответы Re: [RFC] Extend namespace of valid guc names  (Hannu Krosing <hannu@2ndQuadrant.com>)
Re: [RFC] Extend namespace of valid guc names  (Andres Freund <andres@2ndquadrant.com>)
Список pgsql-hackers
Andres Freund <andres@2ndquadrant.com> writes:
> On 2013-09-06 10:13:23 -0400, Tom Lane wrote:
>> Well, if you feel an absolute compulsion to make them consistent, I'd
>> go with making SET disallow creation of variables with names the file
>> parser wouldn't recognize.  But why is it such a bad thing if SET can
>> do that?

> Also, ALTER SYSTEM SET is going to need a similar restriction as well,
> otherwise the server won't restart although the GUCs pass validation...

Well, sure, but I would think that ALTER SYSTEM SET should be constrained
to only set known GUCs, not invent new ones on the fly.
        regards, tom lane



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

Предыдущее
От: Oleg Bartunov
Дата:
Сообщение: Re: Hstore: Query speedups with Gin index
Следующее
От: Tom Lane
Дата:
Сообщение: Re: [bug fix] strerror() returns ??? in a UTF-8/C database with LC_MESSAGES=non-ASCII