Re: pg_ctl cannot find postgresql.conf - Mailing list pgsql-bugs

From David G. Johnston
Subject Re: pg_ctl cannot find postgresql.conf
Date
Msg-id CAKFQuwam1_wGiuaQqM=6jijxf6QLc4u_J08UTJqO90t7sLwCZw@mail.gmail.com
Whole thread Raw
In response to pg_ctl cannot find postgresql.conf  (Дмитрий Карасёв <karasev.dmitrii94@mail.ru>)
Responses Re: pg_ctl cannot find postgresql.conf  (Juan José Santamaría Flecha <juanjo.santamaria@gmail.com>)
List pgsql-bugs
On Wednesday, July 13, 2022, Дмитрий Карасёв <karasev.dmitrii94@mail.ru> wrote:
pg_ctl (PostgreSQL) 14.4
PGDATA=/mnt/disk/base/postgresql/14/main
ERROR:
pg_ctl start
ожидание запуска сервера....postgres не может открыть файл конфигурации сервера "/mnt/disk/base/postgresql/14/main/postgresql.conf": No such file or directory
but postgresql.conf located in  /etc/postgresql/14/main/postgresql.conf
 


This isn’t a bug.  Use the command line options or environment variables to tell pg_ctl where to find the configuration file in the non-default location.

David J.
 

pgsql-bugs by date:

Previous
From: PG Bug reporting form
Date:
Subject: BUG #17549: wrong index scan plan with RLS
Next
From: Juan José Santamaría Flecha
Date:
Subject: Re: pg_ctl cannot find postgresql.conf