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