Sean Chittenden <sean(at)chittenden(dot)org> writes:
>> Also delay processing of options received in
>> client connection request until after we know if the user is a
>> superuser,
>> so that SUSET values can be set that way by legitimate superusers.
> Does this mean that postgresql.conf:log_connection=off, ALTER USER usr
> SET log_connection=on will only result in a log entry after we've
> processed useconfig?
It won't result in a log entry at all, and never has, because
log_connection executes long before we look at the options.
regards, tom lane