Bharath Rupireddy <[email protected]> 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
