Re: BUG: postgresql.auto.conf location

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: BUG: postgresql.auto.conf location
Дата
Msg-id 2426.1527704064@sss.pgh.pa.us
обсуждение исходный текст
Ответ на BUG: postgresql.auto.conf location  (Alexandr Blinov <alexandr.blinov@mysky.com>)
Список pgsql-bugs
Alexandr Blinov <alexandr.blinov@mysky.com> writes:
> After that the following command is executed: ALTER SYSTEM SET max_connections = xxx;'
> File postgresql.auto.conf is be created at 'data' directory, although this is expected in the same directory as the
mainpostgresql.conf file. 

That's intentional, and indeed necessary.  If you are keeping the main
config file in some other place, it's likely that that other place isn't
even writable by the server.

> This is a confusing, because in case of backup/restore or pg_basebackup to a new server (or new slave server),
auto.conffile also will be transferred and applied to a new server, which in some cases is not expected. 

There's been some discussion of teaching those tools to not copy config
files (perhaps optionally?), but I'm not sure what the current status is.

            regards, tom lane


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

Предыдущее
От: "David G. Johnston"
Дата:
Сообщение: Re: BUG: postgresql.auto.conf location
Следующее
От: "158306855"
Дата:
Сообщение: Re: [BUG] postgresql replaying WAL slowly when master drop a largenumber of relations in one transaction