Re: cannot read pg_class without having selected a database / is this a bug? - Mailing list pgsql-hackers

From Tom Lane
Subject Re: cannot read pg_class without having selected a database / is this a bug?
Date
Msg-id 17972.1323034001@sss.pgh.pa.us
Whole thread Raw
In response to Re: cannot read pg_class without having selected a database / is this a bug?  (Tomas Vondra <tv@fuzzy.cz>)
Responses Re: cannot read pg_class without having selected a database / is this a bug?  (Robert Haas <robertmhaas@gmail.com>)
List pgsql-hackers
Tomas Vondra <tv@fuzzy.cz> writes:
> What about the pg_stat_activity - is it safe to access that from auth
> hook or is that just a coincidence that it works (and might stop working
> in the future)?

It doesn't seem like a good thing to rely on.  There's certainly no
testing being done that would cause us to notice if it stopped working
so early in backend startup.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: why local_preload_libraries does require a separate directory ?
Next
From: Pavel Stehule
Date:
Subject: Re: planner fails on HEAD