pgsql: Implement ALTER TABLE .. SET LOGGED / UNLOGGED - Mailing list pgsql-committers

From Alvaro Herrera
Subject pgsql: Implement ALTER TABLE .. SET LOGGED / UNLOGGED
Date
Msg-id E1XKtbL-0001B9-6k@gemulon.postgresql.org
Whole thread Raw
Responses Re: pgsql: Implement ALTER TABLE .. SET LOGGED / UNLOGGED
List pgsql-committers
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

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/f41872d0c1239d36ab03393c39ec0b70e9ee2a3c

Modified Files
--------------
doc/src/sgml/ref/alter_table.sgml         |   64 ++++----
src/backend/commands/cluster.c            |   46 +++---
src/backend/commands/matview.c            |    9 +-
src/backend/commands/tablecmds.c          |  239 ++++++++++++++++++++++++++++-
src/backend/parser/gram.y                 |   17 +-
src/bin/psql/tab-complete.c               |    4 +-
src/include/commands/cluster.h            |    2 +-
src/include/nodes/parsenodes.h            |    2 +
src/include/parser/kwlist.h               |    1 +
src/test/regress/expected/alter_table.out |   91 +++++++++++
src/test/regress/sql/alter_table.sql      |   52 +++++++
11 files changed, 472 insertions(+), 55 deletions(-)


pgsql-committers by date:

Previous
From: Alvaro Herrera
Date:
Subject: pgsql: Fix outdated comment
Next
From: Peter Eisentraut
Date:
Subject: pgsql: doc: Improve pg_restore help output