Re: user connection not recorded?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com>
Cc: Melvin Davidson <melvin6925(at)gmail(dot)com>, "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org>
Subject: Re: user connection not recorded?
Date: 2015-07-30 15:40:20
Message-ID: 15901.1438270820@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)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

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Jan Keirse 2015-07-30 15:41:11 Re: Transaction ID Wraparound Monitoring
Previous Message Adrian Klaver 2015-07-30 14:58:32 Re: user connection not recorded?