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

From Andrew Dunstan
Subject Re: DROP FUNCTION IF EXISTS
Date
Msg-id 4517F1B0.6070105@dunslane.net
Whole thread Raw
In response to Re: DROP FUNCTION IF EXISTS  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
Tom Lane wrote:
> 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.
>
>     
>   

Sounds like a plan.

cheers

andrew



pgsql-hackers by date:

Previous
From: Teodor Sigaev
Date:
Subject: Re: DROP FUNCTION IF EXISTS
Next
From: Tom Lane
Date:
Subject: Re: Small docu mismatch