Re: Getting the initdb parameter values

Поиск
Список
Период
Сортировка
От Greg Smith
Тема Re: Getting the initdb parameter values
Дата
Msg-id 4BC4A656.2050105@2ndquadrant.com
обсуждение исходный текст
Ответ на Getting the initdb parameter values  ("Satish Burnwal (sburnwal)" <sburnwal@cisco.com>)
Ответы Re: Getting the initdb parameter values  (Julio Leyva <jcleyva@hotmail.com>)
Список pgsql-admin
Satish Burnwal (sburnwal) wrote:
>
> I have an existing postgres database and I want to know what are the
> values of the parameters that were determined during initdb. Is there
> any way to know those values ?
>

I normally use:

select name,current_setting(name) from pg_settings where
source='configuration file'

To figure out all the things that were set at initdb time from a new
running database.  You can also look at the postgresql.conf file it
generated and search for lines that are not commented out with "#" at
the start.

--
Greg Smith  2ndQuadrant US  Baltimore, MD
PostgreSQL Training, Services and Support
greg@2ndQuadrant.com   www.2ndQuadrant.us


В списке pgsql-admin по дате отправления:

Предыдущее
От: "Kevin Grittner"
Дата:
Сообщение: Re: Getting the initdb parameter values
Следующее
От: Julio Leyva
Дата:
Сообщение: Re: Getting the initdb parameter values