Re: Changing default ../data/ directory

Поиск
Список
Период
Сортировка
От Rich Shepard
Тема Re: Changing default ../data/ directory
Дата
Msg-id alpine.LNX.2.20.2001040817520.30638@salmo.appl-ecosys.com
обсуждение исходный текст
Ответ на Re: Changing default ../data/ directory  (nikhil raj <nikhilraj474@gmail.com>)
Список pgsql-general
On Sat, 4 Jan 2020, nikhil raj wrote:

> Step 1-: Stop the postgres services and change the path of the
> data directory in postgres.conf file.

The postgresql.conf.sample notes that the default value of data_directory is
taken from -D in the startup command or the PGDATA environment variable. I
suppose that I can define PGDATA in ~/.bash_profile as I'm the only user.

Thanks,

Rich



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

Предыдущее
От: Adrian Klaver
Дата:
Сообщение: Re: When should parameters be passed as text v. binary?
Следующее
От: Rich Shepard
Дата:
Сообщение: Re: Changing default ../data/ directory