Re: Add pg_accept_connections_start_time() for better uptime calculation
В списке pgsql-hackers по дате отправления:
| От | Tom Lane |
|---|---|
| Тема | Re: Add pg_accept_connections_start_time() for better uptime calculation |
| Дата | |
| Msg-id | 695475.1739753586@sss.pgh.pa.us обсуждение |
| Ответ на | Re: Add pg_accept_connections_start_time() for better uptime calculation (Laurenz Albe <laurenz.albe@cybertec.at>) |
| Список | pgsql-hackers |
Michael Paquier <michael@paquier.xyz> writes:
> On Sun, Feb 16, 2025 at 11:47:46AM +0100, Laurenz Albe wrote:
>> Would it make sense to add that information to the output of
>> "pg_ctl status" as well? Perhaps as a new option, so that default output
>> format doesn't change.
> A separate function that only returns the open-for-connection time has
> benefits on its own because its execution can be granted to separate
> users, without knowing about the full contents of postmaster.pid.
> That last part should matter for cloud vendors. And this file only
> knows about MyStartTime.
Yeah. Making that happen would require extending the contents of
postmaster.pid, which is likely to break assorted peoples' tooling.
I doubt that this feature clears the bar for justifying that.
regards, tom lane
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера