db=# ALTER USER dbmail SET log_disconnections = false;
ERROR: parameter "log_disconnections" cannot be set after connection start
:-/ I use disconnections as the way of noting the number of connections. Regardless, I think I'm off to the races... BUT! not quite:
INFO: permission denied to set parameter "log_statement" HINT: Must be superuser to increase this value. INFO: permission denied to set parameter "log_duration" HINT: Must be superuser to change this value to false.
doh! So much for that idea. There's no real way to have some useconfig variables run by the super user and some run by the session user. My workaround is to have the program call a SECURITY DEFINER function, but I'd be nice to be able to remove that hack. Anyway, something to consider next time the system catalogs are being tweaked. -sc
-- Sean Chittenden
---------------------------(end of broadcast)--------------------------- TIP 6: Have you searched our list archives?
http://archives.postgresql.org