OSDN Git Service

Add ALTER VIEW ... RENAME TO, and a RENAME TO clause to ALTER SEQUENCE.
authorNeil Conway <neilc@samurai.com>
Tue, 3 Jul 2007 01:30:37 +0000 (01:30 +0000)
committerNeil Conway <neilc@samurai.com>
Tue, 3 Jul 2007 01:30:37 +0000 (01:30 +0000)
commita55898131e0c68efc5836a6cada8e34e47678b71
tree8fad05c45372be40b8d28376faa257c608e0b94f
parenta1587e41aecf2626c62f96cf07acbe5bca5871a3
Add ALTER VIEW ... RENAME TO, and a RENAME TO clause to ALTER SEQUENCE.
Sequences and views could previously be renamed using ALTER TABLE, but
this was a repeated source of confusion for users. Update the docs,
and psql tab completion. Patch from David Fetter; various minor fixes
by myself.
12 files changed:
doc/src/sgml/ref/allfiles.sgml
doc/src/sgml/ref/alter_sequence.sgml
doc/src/sgml/ref/alter_view.sgml [new file with mode: 0644]
doc/src/sgml/ref/create_view.sgml
doc/src/sgml/ref/drop_view.sgml
doc/src/sgml/reference.sgml
src/backend/commands/alter.c
src/backend/commands/tablecmds.c
src/backend/parser/gram.y
src/backend/tcop/utility.c
src/bin/psql/tab-complete.c
src/include/commands/tablecmds.h