Re: Function parameter names

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Function parameter names
Дата
Msg-id 28054.1069609149@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Function parameter names  (Peter Eisentraut <peter_e@gmx.net>)
Ответы Re: Function parameter names
Re: Function parameter names
Список 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 по дате отправления:

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: Function parameter names
Следующее
От: Peter Eisentraut
Дата:
Сообщение: initdb mkdir_p() doesn't work