pgsql: Consolidate and improve checking of key-column-attnum arguments

Поиск
Список
Период
Сортировка
От tgl@postgresql.org (Tom Lane)
Тема pgsql: Consolidate and improve checking of key-column-attnum arguments
Дата
Msg-id 20100615162258.378E37541D4@cvs.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Log Message:
-----------
Consolidate and improve checking of key-column-attnum arguments for
dblink_build_sql_insert() and related functions.  In particular, be sure to
reject references to dropped and out-of-range column numbers.  The numbers
are still interpreted as physical column numbers, though, for backward
compatibility.

This patch replaces Joe's patch of 2010-02-03, which handled only some aspects
of the problem.

Tags:
----
REL7_4_STABLE

Modified Files:
--------------
    pgsql/contrib/dblink:
        dblink.c (r1.25.4.10 -> r1.25.4.11)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/contrib/dblink/dblink.c?r1=1.25.4.10&r2=1.25.4.11)
    pgsql/contrib/dblink/expected:
        dblink.out (r1.11.2.2 -> r1.11.2.3)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/contrib/dblink/expected/dblink.out?r1=1.11.2.2&r2=1.11.2.3)

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

Предыдущее
От: tgl@postgresql.org (Tom Lane)
Дата:
Сообщение: pgsql: Consolidate and improve checking of key-column-attnum arguments
Следующее
От: rhaas@postgresql.org (Robert Haas)
Дата:
Сообщение: pgsql: Document new 9.0 behavior of ANALYZE on inheritance hierarchies.