Re: Add default_val to pg_settings

From: Magnus Hagander <magnus(at)hagander(dot)net>
To: Greg Smith <gsmith(at)gregsmith(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Add default_val to pg_settings
Date: 2008-10-06 13:07:05
Message-ID: 48EA0D79.20502@hagander.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Kellyton Campos Feitosa - GYN 2008-10-06 13:22:00 Monitoring postgres
Previous Message Tom Lane 2008-10-06 12:47:16 Re: Weird behaviour with ALTER TABLE ... SET TABLESPACE ... statement