Re: Can we have a new SQL callable function to get Postmaster PID?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Can we have a new SQL callable function to get Postmaster PID?
Дата
Msg-id 3905772.1612364917@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Can we have a new SQL callable function to get Postmaster PID?  (Bharath Rupireddy <bharath.rupireddyforpostgres@gmail.com>)
Ответы Re: Can we have a new SQL callable function to get Postmaster PID?
Список pgsql-hackers
Bharath Rupireddy <bharath.rupireddyforpostgres@gmail.com> writes:
> Can we have a new function, say pg_postgres_pid(), to return
> postmaster PID similar to pg_backend_pid()?

I'm disinclined to think that this is a good idea from a security
perspective.  Maybe if it's superuser-only it'd be ok (since a
superuser would have other routes to discovering the value anyway).

            regards, tom lane



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