mirror of
https://github.com/postgres/postgres.git
synced 2025-07-28 23:42:10 +03:00
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.
This commit is contained in:
@ -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;
|
||||
|
Reference in New Issue
Block a user