Hi, On 2017-03-09 14:30:21 -0500, Peter Eisentraut wrote: > In practice, I think it's common to do a quick select * from > pg_stat_activity to determine whether a database instance is in use.
> (You always see your own session, but that's easy to eyeball.) If we > add all the various background processes by default, that will make > things harder, especially if there is no straightforward way to filter > them out. A good chunk of those still apply to database attached background workers (say dropping a database, using it as a template) - so I'm not really convinced that's an issue. - Andres -- Sent via pgsql-hackers mailing list (firstname.lastname@example.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers