Re: cannot read pg_class without having selected a database / is this a bug?
From:
Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To:
Tomas Vondra <tv(at)fuzzy(dot)cz>
Cc:
pgsql-hackers(at)postgresql(dot)org
Subject:
Re: cannot read pg_class without having selected a database / is this a bug?
Date:
2011-12-04 21:26:41
Message-ID:
17972.1323034001@sss.pgh.pa.us (view raw or flat )
Thread:
2011-12-03 22:33:20 from Tomas Vondra <tv(at)fuzzy(dot)cz>
2011-12-03 22:37:07 from Robert Haas <robertmhaas(at)gmail(dot)com>
2011-12-03 23:02:20 from Tomas Vondra <tv(at)fuzzy(dot)cz>
2011-12-04 04:19:54 from Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
2011-12-04 14:26:39 from Tomas Vondra <tv(at)fuzzy(dot)cz>
2011-12-04 16:10:17 from Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
2011-12-04 21:04:40 from Tomas Vondra <tv(at)fuzzy(dot)cz>
2011-12-04 21:26:41 from Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
2011-12-05 15:35:37 from Robert Haas <robertmhaas(at)gmail(dot)com>
2011-12-05 15:46:57 from Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
2011-12-05 15:58:18 from Robert Haas <robertmhaas(at)gmail(dot)com>
Lists:
pgsql-hackers
Tomas Vondra <tv(at)fuzzy(dot)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
In response to
Responses
pgsql-hackers by date
Next :From: Pavel StehuleDate: 2011-12-04 21:51:29
Subject : Re: planner fails on HEAD
Previous :From : Tom LaneDate : 2011-12-04 21:16:02
Subject : Re: why local_preload_libraries does require a separate directory ?