Обсуждение: pgsql/src backend/commands/rename.c test/regre ...

Поиск
Список
Период
Сортировка

pgsql/src backend/commands/rename.c test/regre ...

От
momjian@postgresql.org (Bruce Momjian - CVS)
Дата:
CVSROOT:    /cvsroot
Module name:    pgsql
Changes by:    momjian@postgresql.org    02/04/05 06:58:24

Modified files:
    src/backend/commands: rename.c
    src/test/regress/expected: alter_table.out
    src/test/regress/sql: alter_table.sql

Log message:
    This patch adds a missing heap_freetuple() to renamerel(), documents
    the decision not to make renamerel() update the sequence name that
    is stored within sequences themselves (thanks to Tom Lane), and adds
    some rudimentary regression tests for ALTER TABLE ... RENAME on
    non-table relations.

    Neil Conway