Re: Function parameter names - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Function parameter names
Date
Msg-id 28054.1069609149@sss.pgh.pa.us
Whole thread Raw
In response to Re: Function parameter names  (Peter Eisentraut <peter_e@gmx.net>)
Responses Re: Function parameter names
Re: Function parameter names
List pgsql-hackers
Peter Eisentraut <peter_e@gmx.net> writes:
> Dennis Bjorklund writes:
>> I'm in the middle of implementing function parameter names.

> So these two reasons make a "namevector" impractical: First, it would
> probably not be in the performance critical path.  Second, it would use up
> a fixed length of NAMEDATALEN * FUNC_MAX_ARGS (currently 1024 bytes) in
> every pg_proc row.  In this case, a regular name[] would be more suitable.
> Just be sure to put it after all the fixed-length fields.

Actually I'd suggest text[], as there is no good reason to pad the
array entries to a fixed length.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: Function parameter names
Next
From: Peter Eisentraut
Date:
Subject: initdb mkdir_p() doesn't work