Re: Documentation patch: change a name in a grammar rule

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: Documentation patch: change a name in a grammar rule
Дата
Msg-id 200604171909.51872.peter_e@gmx.net
обсуждение исходный текст
Ответ на Re: Documentation patch: change a name in a grammar rule  ("Nicolas Barbier" <nicolas.barbier@gmail.com>)
Ответы Re: Documentation patch: change a name in a grammar rule  ("Nicolas Barbier" <nicolas.barbier@gmail.com>)
Список pgsql-patches
Nicolas Barbier wrote:
> In for example set.sgml, just "name" is used for the exact same
> concept. I changed the patch so that "varname" is used, because
> "name" was already in use by this specific grammar. Maybe the usage
> of "var" makes it less clear indeed, for people that know that those
> things are always referred to as "parameters" and never as
> "variables".

A variable would be something that you store application data in,
whereas a parameter is some nondata value that influences your
calculations.  That's my recollection of how the terms are used in
mathematics.  So parameter is decidedly the better term than variable.
If that is confusing, make it config_param or something like that.

--
Peter Eisentraut
http://developer.postgresql.org/~petere/

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

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: pg_ctl options checking
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: pg_ctl options checking