mirror of
https://github.com/postgres/postgres.git
synced 2025-11-25 12:03:53 +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:
@@ -37,6 +37,7 @@
|
||||
#define BM_JUST_DIRTIED (1 << 5) /* dirtied since write started */
|
||||
#define BM_PIN_COUNT_WAITER (1 << 6) /* have waiter for sole pin */
|
||||
#define BM_CHECKPOINT_NEEDED (1 << 7) /* must write for checkpoint */
|
||||
#define BM_PERMANENT (1 << 8) /* permanent relation (not unlogged) */
|
||||
|
||||
typedef bits16 BufFlags;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user