pgsql: Fix plpgsql to pass only one copy of any given plpgsql variable

Поиск
Список
Период
Сортировка
От tgl@postgresql.org (Tom Lane)
Тема pgsql: Fix plpgsql to pass only one copy of any given plpgsql variable
Дата
Msg-id 20060323042245.5F0B69DCBF0@postgresql.org
обсуждение исходный текст
Список pgsql-committers
Log Message:
-----------
Fix plpgsql to pass only one copy of any given plpgsql variable into a SQL
command or expression, rather than one copy for each textual occurrence as
it did before.  This might result in some small performance improvement,
but the compelling reason to do it is that not doing so can result in
unexpected grouping failures because the main SQL parser won't see different
parameter numbers as equivalent.  Add a regression test for the failure case.
Per report from Robert Davidson.

Tags:
----
REL8_1_STABLE

Modified Files:
--------------
    pgsql/src/pl/plpgsql/src:
        gram.y (r1.82 -> r1.82.2.1)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/pl/plpgsql/src/gram.y.diff?r1=1.82&r2=1.82.2.1)
    pgsql/src/test/regress/expected:
        plpgsql.out (r1.40 -> r1.40.2.1)

(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/test/regress/expected/plpgsql.out.diff?r1=1.40&r2=1.40.2.1)
    pgsql/src/test/regress/sql:
        plpgsql.sql (r1.34 -> r1.34.2.1)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/test/regress/sql/plpgsql.sql.diff?r1=1.34&r2=1.34.2.1)

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

Предыдущее
От: tgl@postgresql.org (Tom Lane)
Дата:
Сообщение: pgsql: Fix plpgsql to pass only one copy of any given plpgsql variable
Следующее
От: jwp@pgfoundry.org (James William Pye)
Дата:
Сообщение: python - typ: Fix handling of empty arrays.