From 53dbc27c62d8e1b6c5253feba04a5094cb8fe046 Mon Sep 17 00:00:00 2001 From: Robert Haas Date: Wed, 29 Dec 2010 06:48:53 -0500 Subject: Support unlogged tables. The contents of an unlogged table are WAL-logged; thus, they are not available on standby servers and are truncated whenever the database system enters recovery. Indexes on unlogged tables are also unlogged. Unlogged GiST indexes are not currently supported. --- src/backend/storage/file/copydir.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/backend/storage/file/copydir.c') diff --git a/src/backend/storage/file/copydir.c b/src/backend/storage/file/copydir.c index f7dc509b500..587fb9260c0 100644 --- a/src/backend/storage/file/copydir.c +++ b/src/backend/storage/file/copydir.c @@ -38,7 +38,6 @@ #endif -static void copy_file(char *fromfile, char *tofile); static void fsync_fname(char *fname, bool isdir); @@ -142,7 +141,7 @@ copydir(char *fromdir, char *todir, bool recurse) /* * copy one file */ -static void +void copy_file(char *fromfile, char *tofile) { char *buffer; -- cgit v1.2.3