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 48EA0D79.20502@hagander.net
Whole thread Raw
In response to Re: Add default_val to pg_settings  (Greg Smith <gsmith@gregsmith.com>)
List pgsql-hackers
Greg Smith wrote:
> On Thu, 25 Sep 2008, Simon Riggs wrote:
> 
>> So it would be useful to have a column that meant "if I run the RESET
>> command it would return me to this value".
> 
> Patch v3 attached that exposes boot_val and reset_val.  The docs for the
> latter link to the RESET command page for details.

Applied with some smaller changes and minor stylistic fixes. You don't
need to copy a text string into buffer and then pstrdup() buffer later -
you can just pstrdup() the text string directly. And you forgot one of
the places in rules.out :-P

Thanks!

//Magnus



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Weird behaviour with ALTER TABLE ... SET TABLESPACE ... statement
Next
From: Tom Lane
Date:
Subject: ctelevelsup is kind of a pain in the neck