Kovacs Zoltan <[EMAIL PROTECTED]> writes:
> I'm trying to implement some code to recreate tables as we discussed
> formerly. But it's not so easy... :-) My first blind alley is that
> dropping a function which is occured in a CHECK constraint or
> a DEFAULT constraint, I get "fmgr_info: function 12345678: cache
> lookup failed" or "Function OID 12345678 does not exist" (this one
> only in 7.1.3; I tested this also in 7.2.1).

Use CREATE OR REPLACE FUNCTION to modify an existing function ...

                        regards, tom lane

---------------------------(end of broadcast)---------------------------
TIP 6: Have you searched our list archives?

http://archives.postgresql.org

Reply via email to