Re: Inconvenience of pg_read_binary_file()

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: Inconvenience of pg_read_binary_file()
Дата
Msg-id 20220730114705.fkj4ysedujpao6sy@alvherre.pgsql
обсуждение исходный текст
Ответ на Re: Inconvenience of pg_read_binary_file()  (Michael Paquier <michael@paquier.xyz>)
Список pgsql-hackers
On 2022-Jul-30, Michael Paquier wrote:

> PG_VERSION would be simpler.  Looking at postmaster.pid would require
> a lookup at external_pid_file, and as it is not set by default you
> would need to add some extra logic in the tests where
> external_pid_file = NULL <=> PGDATA/postmaster.pid.

Hmm, no? as I recall external_pid_file is an *additional* PID file; it
doesn't supplant postmaster.pid.

postmaster.opts is also an option.

-- 
Álvaro Herrera         PostgreSQL Developer  —  https://www.EnterpriseDB.com/
"E pur si muove" (Galileo Galilei)



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

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: Re: making relfilenodes 56 bits
Следующее
От: Julien Rouhaud
Дата:
Сообщение: Re: [PATCH] Add extra statistics to explain for Nested Loop