Re: [HACKERS] Admin nice-to-have's

2002-09-01 Thread Bruce Momjian
Scott Shattuck wrote: > A couple of admin nice-to-have's based on the last few weeks of 24x7 > operation are: > > Allow DBA/Database Owner to log in even when max_connections has been > reached so they can determine which queries are hung via > pg_stat_activity etc. and perform any other needed w

Re: [HACKERS] Admin nice-to-have's

2002-08-16 Thread Bruce Momjian
Tom Lane wrote: > Bruce Momjian <[EMAIL PROTECTED]> writes: > > Tom Lane wrote: > >> We could consider establishing a "soft" connection limit that's somewhat > >> less than max_connections, and allowing non-superusers to log in only > >> if the soft limit hasn't been exceeded. This does not guara

Re: [HACKERS] Admin nice-to-have's

2002-08-16 Thread Tom Lane
Bruce Momjian <[EMAIL PROTECTED]> writes: > Tom Lane wrote: >> We could consider establishing a "soft" connection limit that's somewhat >> less than max_connections, and allowing non-superusers to log in only >> if the soft limit hasn't been exceeded. This does not guarantee that >> superusers ca

Re: [HACKERS] Admin nice-to-have's

2002-08-16 Thread Bruce Momjian
Tom Lane wrote: > Neil Conway <[EMAIL PROTECTED]> writes: > > I don't see a major problem with allowing postgres to login if the > > connection limit is hit (although I'm not sure it's worth the worry, > > when 'kill a backend executing SELECT ; psql template1 postgres' works > > as-is). > > max_

Re: [HACKERS] Admin nice-to-have's

2002-08-16 Thread Tom Lane
Neil Conway <[EMAIL PROTECTED]> writes: > I don't see a major problem with allowing postgres to login if the > connection limit is hit (although I'm not sure it's worth the worry, > when 'kill a backend executing SELECT ; psql template1 postgres' works > as-is). max_connections is a hard limit; y

Re: [HACKERS] Admin nice-to-have's

2002-08-15 Thread Bruce Momjian
Neil Conway wrote: > Scott Shattuck <[EMAIL PROTECTED]> writes: > > Allow DBA/Database Owner to log in even when max_connections has > > been reached so they can determine which queries are hung via > > pg_stat_activity etc. and perform any other needed work to restore > > stability. > > Allowing

Re: [HACKERS] Admin nice-to-have's

2002-08-15 Thread Neil Conway
Scott Shattuck <[EMAIL PROTECTED]> writes: > Allow DBA/Database Owner to log in even when max_connections has > been reached so they can determine which queries are hung via > pg_stat_activity etc. and perform any other needed work to restore > stability. Allowing the database owner to login seem

[HACKERS] Admin nice-to-have's

2002-08-15 Thread Scott Shattuck
A couple of admin nice-to-have's based on the last few weeks of 24x7 operation are: Allow DBA/Database Owner to log in even when max_connections has been reached so they can determine which queries are hung via pg_stat_activity etc. and perform any other needed work to restore stability. Log off