Larry Rosenman <ler(at)lerctr(dot)org> writes:
>>>> Can anyone tell me how to log the db user name and db name to the server
>>>> log? Is this possible at present?
> So, I think it's there already.
You're right ... I had just found that in the sources myself.
log_connections is the controlling option.
regards, tom lane