Re: Add default_val to pg_settings

Поиск
Список
Период
Сортировка
От Simon Riggs
Тема Re: Add default_val to pg_settings
Дата
Msg-id 1222349002.4445.786.camel@ebony.2ndQuadrant
обсуждение исходный текст
Ответ на Re: Add default_val to pg_settings  (Magnus Hagander <magnus@hagander.net>)
Список pgsql-hackers
On Thu, 2008-09-25 at 14:52 +0200, Magnus Hagander wrote:
> Simon Riggs wrote:
> > On Thu, 2008-09-25 at 14:42 +0200, Magnus Hagander wrote:
> >> Having
> >> one column named reset_val and one named boot_val should work, no?
> > 
> > Yes, those names seem very appropriate to me.
> > 
> > Finding the reset_val isn't that tough, IIRC the way the guc assignment
> > works with its "doit" flag.

> I haven't looked at the code.. but there is actually a field in the
> struct called reset_val. It may not be usable, or you may have just
> missed it?

Yah, missed it.  Cool, even easier ;-)

-- Simon Riggs           www.2ndQuadrant.comPostgreSQL Training, Services and Support



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

Предыдущее
От: "Marko Kreen"
Дата:
Сообщение: Re: PostgreSQL future ideas
Следующее
От: Simon Riggs
Дата:
Сообщение: Re: Add default_val to pg_settings