Re: Not able to add or remove argument in Parameters tab, Function Properties

From: Dave Page <dpage(at)postgresql(dot)org>
To: Guillaume Lelarge <guillaume(at)lelarge(dot)info>
Cc: zoran <zoran(dot)cincovic(at)a-asoft(dot)com>, pgadmin-support(at)postgresql(dot)org
Subject: Re: Not able to add or remove argument in Parameters tab, Function Properties
Date: 2007-11-12 15:29:43
Message-ID: 47387167.1000406@postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-support

Guillaume Lelarge wrote:
> Dave Page a écrit :
>> Guillaume Lelarge wrote:
>>> zoran a écrit :
>>>> Hi,
>>>>
>>>> Do buttons Add and Remove in Parameters tab have purpose?
>>>>
>>> They have when you're connected to a PostgreSQL 8.3 server.
>>>
>>> Dave, do you think we should hide the parameters' tab when used with
>>> pre-8.3 servers ? I can write a patch for this.
>> No - parameters are used in all versions of PostgreSQL. You can only
>> add/remove them when creating the function though, not when editing it
>> (because that would change the signature, thus making it a new function).
>>
>
> I thought it was an 8.3 new feature ?

eh?

You cannot change foo(int, int) to foo(int, int, int) because it would
become a whole new function. Thus you can only add/remove parameters at
initial design time.

/D

In response to

Responses

Browse pgadmin-support by date

  From Date Subject
Next Message Guillaume Lelarge 2007-11-12 15:46:49 Re: Not able to add or remove argument in Parameters tab, Function Properties
Previous Message Guillaume Lelarge 2007-11-12 15:05:55 Re: Not able to add or remove argument in Parameters tab, Function Properties