pgsql: Add more checks against altering typed tables - Prohibit

Поиск
Список
Период
Сортировка
От petere@postgresql.org (Peter Eisentraut)
Тема pgsql: Add more checks against altering typed tables - Prohibit
Дата
Msg-id 20100723200409.528FC7541D5@cvs.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Log Message:
-----------
Add more checks against altering typed tables

- Prohibit altering column type
- Prohibit changing inheritance
- Move checks from Exec to Prep phases in ALTER TABLE code

backpatched to 9.0

Tags:
----
REL9_0_STABLE

Modified Files:
--------------
    pgsql/src/backend/commands:
        tablecmds.c (r1.332 -> r1.332.2.1)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/commands/tablecmds.c?r1=1.332&r2=1.332.2.1)
    pgsql/src/test/regress/expected:
        typed_table.out (r1.1 -> r1.1.6.1)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/test/regress/expected/typed_table.out?r1=1.1&r2=1.1.6.1)
    pgsql/src/test/regress/sql:
        typed_table.sql (r1.1 -> r1.1.6.1)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/test/regress/sql/typed_table.sql?r1=1.1&r2=1.1.6.1)

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

Предыдущее
От: rhaas@postgresql.org (Robert Haas)
Дата:
Сообщение: pgsql: Have psql avoid describing local sockets as host names.
Следующее
От: petere@postgresql.org (Peter Eisentraut)
Дата:
Сообщение: pgsql: Add more checks against altering typed tables - Prohibit