Re: [SQL] 16 parameter limit

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: [SQL] 16 parameter limit
Дата
Msg-id 9110.1018930411@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: [SQL] 16 parameter limit  (Neil Conway <nconway@klamath.dyndns.org>)
Ответы Re: [SQL] 16 parameter limit  ("Josh Berkus" <josh@agliodbs.com>)
Список pgsql-patches
Neil Conway <nconway@klamath.dyndns.org> writes:
> My vote is to set the default # of function args to some
> reasonable default (32 sounds good), and leave it at that.

Bear in mind that s/32/16/ gives you the exact state of the discussion
when we raised the limit from 8 to 16 ;-)

Still, I do not really see the value of adding a configure argument.
Anyone who can't figure out how to tweak this in pg_config.h is probably
not ready to run a non-default configuration anyhow.

If the consensus is to raise the default from 16 to 32, I won't object.
Beyond that, I'd start asking questions about who's measured the
performance hit and what they found.

On the NAMEDATALEN part of the argument: SQL92 clearly expects that
NAMEDATALEN should be 128.  But the first report of the performance
cost looked rather grim.  Has anyone retried that experiment since
we tweaked hashname to not hash all the trailing zeroes?

            regards, tom lane

В списке pgsql-patches по дате отправления:

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: [SQL] 16 parameter limit
Следующее
От: Peter Eisentraut
Дата:
Сообщение: Re: ANSI Compliant Inserts