Re: How can I retrieve an info about function arguments ? - Mailing list pgsql-admin

From Tom Lane
Subject Re: How can I retrieve an info about function arguments ?
Date
Msg-id 22855.1035555941@sss.pgh.pa.us
Whole thread Raw
In response to How can I retrieve an info about function arguments ?  ("Zuev Dmitry" <envoy1@chat.ru>)
List pgsql-admin
"Zuev Dmitry" <envoy1@chat.ru> writes:
> Consider a function:
> create function f(varchar(10), decimal(10,1)) returns integer as 'select 1;'

There is no distinction between such a function and a function declared
    create function f(varchar, decimal)
Function arguments do not have length restrictions attached to them.

If they did, we couldn't write functions like numeric_add() and
textcat(), but would need an infinite number of variations of these
for each possible input length.

            regards, tom lane

pgsql-admin by date:

Previous
From: Andrew Sullivan
Date:
Subject: Re: postgresql 7.2.1 and smp ?
Next
From: Tom Lane
Date:
Subject: Re: Help with error message