From f41872d0c1239d36ab03393c39ec0b70e9ee2a3c Mon Sep 17 00:00:00 2001 From: Alvaro Herrera Date: Fri, 22 Aug 2014 14:27:00 -0400 Subject: Implement ALTER TABLE .. SET LOGGED / UNLOGGED MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- src/include/commands/cluster.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/include/commands') diff --git a/src/include/commands/cluster.h b/src/include/commands/cluster.h index 0ada3d6516b..f7730a9c035 100644 --- a/src/include/commands/cluster.h +++ b/src/include/commands/cluster.h @@ -25,7 +25,7 @@ extern void check_index_is_clusterable(Relation OldHeap, Oid indexOid, bool recheck, LOCKMODE lockmode); extern void mark_index_clustered(Relation rel, Oid indexOid, bool is_internal); -extern Oid make_new_heap(Oid OIDOldHeap, Oid NewTableSpace, bool forcetemp, +extern Oid make_new_heap(Oid OIDOldHeap, Oid NewTableSpace, char relpersistence, LOCKMODE lockmode); extern void finish_heap_swap(Oid OIDOldHeap, Oid OIDNewHeap, bool is_system_catalog, -- cgit v1.2.3