Jean-Michel POURE <jm.poure@freesurf.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