Mark Volpe <volpe.mark@epa.gov> writes:
> ERROR: Only users with Postgres superuser privilege are permitted to create a
> function in the 'plpgsql' language.
> D'oh! So, if this is the case, then the last patch should be fine after all.
No, evidently you broke something, or your plpgsql is installed wrong.
regards, tom lane