Re: user connection not recorded? - Mailing list pgsql-general

From Tom Lane
Subject Re: user connection not recorded?
Date
Msg-id 15901.1438270820@sss.pgh.pa.us
Whole thread Raw
In response to Re: user connection not recorded?  (Adrian Klaver <adrian.klaver@aklaver.com>)
List pgsql-general
Adrian Klaver <adrian.klaver@aklaver.com> writes:
> Alright, but the part that has me confused is this comment in the code:

>   * In standalone mode and in autovacuum worker processes, we use a fixed
>   * ID, otherwise we figure it out from the authenticated user name.

> and this

> else if (IsBackgroundWorker)

> I read the above to mean background processes also follow that path.

Yeah, I suppose so, since they don't really have a username to use.

            regards, tom lane


pgsql-general by date:

Previous
From: Ramesh T
Date:
Subject: Re: instr detail
Next
From: Jan Keirse
Date:
Subject: Re: Transaction ID Wraparound Monitoring