Jean-Michel POURE <jm(dot)poure(at)freesurf(dot)fr> writes:
> Does CREATE OR REPLACE FUNCTION preserve function OID?
Yes. That's the whole point ...
> What it the difference with CREATE OR ALTER FUNCTION?
The former exists (now), the latter doesn't exist.
regards, tom lane