Re: Add default_val to pg_settings - Mailing list pgsql-hackers

From Magnus Hagander
Subject Re: Add default_val to pg_settings
Date
Msg-id 48DB8991.6000505@hagander.net
Whole thread Raw
In response to Re: Add default_val to pg_settings  (Simon Riggs <simon@2ndQuadrant.com>)
Responses Re: Add default_val to pg_settings  (Simon Riggs <simon@2ndQuadrant.com>)
List pgsql-hackers
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?

//Magnus



pgsql-hackers by date:

Previous
From: Simon Riggs
Date:
Subject: Re: Add default_val to pg_settings
Next
From: Tom Lane
Date:
Subject: Re: Add default_val to pg_settings