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

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

From
momjian@postgresql.org (Bruce Momjian - CVS)
Date:
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