mirror of
https://github.com/postgres/postgres.git
synced 2025-11-06 07:49:08 +03:00
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
This commit is contained in:
@@ -1307,6 +1307,8 @@ typedef enum AlterTableType
|
||||
AT_ChangeOwner, /* change owner */
|
||||
AT_ClusterOn, /* CLUSTER ON */
|
||||
AT_DropCluster, /* SET WITHOUT CLUSTER */
|
||||
AT_SetLogged, /* SET LOGGED */
|
||||
AT_SetUnLogged, /* SET UNLOGGED */
|
||||
AT_AddOids, /* SET WITH OIDS */
|
||||
AT_AddOidsRecurse, /* internal to commands/tablecmds.c */
|
||||
AT_DropOids, /* SET WITHOUT OIDS */
|
||||
|
||||
Reference in New Issue
Block a user