From: Tom Lane <tgl@sss.pgh.pa.us>
To: Zuev Dmitry <envoy1@chat.ru>
Cc: pgsql-admin@postgresql.org
Subject: Re: How can I retrieve an info about function arguments ?
Date: Fri, 25 Oct 2002 10:25:41 -0400
Message-ID: <22855.1035555941@sss.pgh.pa.us> (raw)
In-Reply-To: <ap8m1e$18u$1@news.nsk.su>
References: <ap8m1e$18u$1@news.nsk.su>
"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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: tgl@sss.pgh.pa.us, envoy1@chat.ru
Subject: Re: How can I retrieve an info about function arguments ?
In-Reply-To: <22855.1035555941@sss.pgh.pa.us>
References: <ap8m1e$18u$1@news.nsk.su> <22855.1035555941@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox