Robert Haas <robertmhaas@gmail.com> writes:
> On Mon, Apr 19, 2010 at 7:18 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
>> Hmm. �The AV launcher is only permitted to touch pg_database.
> Perhaps we should add a TODO.
Actually, while I'm looking at that code, a more immediate TODO is
"fix walsender". Somebody has inserted an absolutely flight-of-fantasy
code path into InitPostgres. (Hint: template1 can be dropped.
ESPECIALLY when you're deliberately not taking any lock on it.)
regards, tom lane