Re: PostgreSql Service different path

Поиск
Список
Период
Сортировка
От Peter J. Holzer
Тема Re: PostgreSql Service different path
Дата
Msg-id 20221024120642.65rhyegpx2maea4g@hjp.at
обсуждение исходный текст
Ответ на PostgreSql Service different path  (chris navarroza <canavarroza.work@gmail.com>)
Список pgsql-general
On 2022-10-24 15:51:30 +0800, chris navarroza wrote:
> sudo yum install postgresql14-server postgresql14-contrib
[...]
> /usr/pgsql-14/bin/initdb -D /home/dmartuser/pgsql/14/data
>
> and update the postgresql.conf to the new path, now when I start the service,
> it has an error and when I check it says 
[doesn't use /home/dmartuser/pgsql/14/data]
>
> How can I point the service to read the new path ( /home/dmartuser/pgsql/14/
> data )? 

Check the systemd configuration file for this service.

        hp


--
   _  | Peter J. Holzer    | Story must make more sense than reality.
|_|_) |                    |
| |   | hjp@hjp.at         |    -- Charles Stross, "Creative writing
__/   | http://www.hjp.at/ |       challenge!"

Вложения

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

Предыдущее
От: chris navarroza
Дата:
Сообщение: Re: PostgreSql Service different path
Следующее
От: Vince McMahon
Дата:
Сообщение: Re: Explain returns different number of rows