Re: Add default_val to pg_settings

Поиск
Список
Период
Сортировка
От Magnus Hagander
Тема Re: Add default_val to pg_settings
Дата
Msg-id 48EA0D79.20502@hagander.net
обсуждение исходный текст
Ответ на Re: Add default_val to pg_settings  (Greg Smith <gsmith@gregsmith.com>)
Список 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 по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Weird behaviour with ALTER TABLE ... SET TABLESPACE ... statement
Следующее
От: Tom Lane
Дата:
Сообщение: ctelevelsup is kind of a pain in the neck