Re: Add default_val to pg_settings

From: Magnus Hagander <magnus(at)hagander(dot)net>
To: Simon Riggs <simon(at)2ndQuadrant(dot)com>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Greg Smith <gsmith(at)gregsmith(dot)com>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: Add default_val to pg_settings
Date: 2008-09-25 12:52:33
Message-ID: 48DB8991.6000505@hagander.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2008-09-25 13:15:29 Re: Add default_val to pg_settings
Previous Message Simon Riggs 2008-09-25 12:49:03 Re: Add default_val to pg_settings