Re: DROP FUNCTION IF EXISTS - Mailing list pgsql-hackers

From Tom Lane
Subject Re: DROP FUNCTION IF EXISTS
Date
Msg-id 27554.1159193559@sss.pgh.pa.us
Whole thread Raw
In response to Re: DROP FUNCTION IF EXISTS  (Andrew Dunstan <andrew@dunslane.net>)
Responses Re: DROP FUNCTION IF EXISTS  (Andrew Dunstan <andrew@dunslane.net>)
List pgsql-hackers
Andrew Dunstan <andrew@dunslane.net> writes:
> Yes, this appears to be a bug, not related to encoding etc. Maybe we 
> should be calling func_signature_string in generating this error.

Can't, because you don't have an Oid array for the types.
TypeNameToString is the correct thing --- I'm considering inventing
"TypeNameListToString" in order to make generating the message simple.
        regards, tom lane


pgsql-hackers by date:

Previous
From: "Dave Page"
Date:
Subject: Re: Release Notes: Major Changes in 8.2
Next
From: "Jim C. Nasby"
Date:
Subject: Re: ReadBuffer(P_NEW) versus valid buffers