Alvaro Herrera <alvherre(at)commandprompt(dot)com> writes:
> If there's some way to "paste" it automatically (like, say, an
> appropriate UPDATE incantation on pg_proc) then that doesn't seem like
> an important problem.
True, you could do UPDATE pg_proc SET prosrc = 'foo' || prosrc
WHERE something-appropriate.
regards, tom lane