]> granicus.if.org Git - postgresql/commit
Implement ALTER TABLE .. SET LOGGED / UNLOGGED
authorAlvaro Herrera <alvherre@alvh.no-ip.org>
Fri, 22 Aug 2014 18:27:00 +0000 (14:27 -0400)
committerAlvaro Herrera <alvherre@alvh.no-ip.org>
Fri, 22 Aug 2014 18:27:00 +0000 (14:27 -0400)
commitf41872d0c1239d36ab03393c39ec0b70e9ee2a3c
tree4c07e9f8a6b0a3d4c9d1e19ca5595c39e5f6e43a
parent01d15a2677c738489e62295924298ef8a72528a8
Implement ALTER TABLE .. SET LOGGED / UNLOGGED

This enables changing permanent (logged) tables to unlogged and
vice-versa.

(Docs for ALTER TABLE / SET TABLESPACE got shuffled in an order that
hopefully makes more sense than the original.)

Author: Fabrízio de Royes Mello
Reviewed by: Christoph Berg, Andres Freund, Thom Brown
Some tweaking by Álvaro Herrera
doc/src/sgml/ref/alter_table.sgml
src/backend/commands/cluster.c
src/backend/commands/matview.c
src/backend/commands/tablecmds.c
src/backend/parser/gram.y
src/bin/psql/tab-complete.c
src/include/commands/cluster.h
src/include/nodes/parsenodes.h
src/include/parser/kwlist.h
src/test/regress/expected/alter_table.out
src/test/regress/sql/alter_table.sql