Robert Haas <robertmhaas@gmail.com> writes:
> Well, I'm a big fan of CREATE OR REPLACE anything so I like the patch
> regardless of whether it solves the current problem, but having said
> that, I'm not clear on whether it does in fact solve the current
> problem. When PL/pgsql is installed by default, is it going to end up
> owned by the DB owner, or might it end up owned by the superuser?
It will be owned by the bootstrap superuser, so the case is exactly
the one that a non-superuser DBA would be faced with.
regards, tom lane