Re: DROP FUNCTION IF EXISTS

From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Teodor Sigaev <teodor(at)sigaev(dot)ru>, Magnus Hagander <mha(at)sollentuna(dot)net>, Pgsql Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: DROP FUNCTION IF EXISTS
Date: 2006-09-25 15:11:44
Message-ID: 4517F1B0.6070105@dunslane.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Tom Lane wrote:
> Andrew Dunstan <andrew(at)dunslane(dot)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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2006-09-25 15:32:32 Re: Small docu mismatch
Previous Message Teodor Sigaev 2006-09-25 14:16:13 Re: DROP FUNCTION IF EXISTS