mirror of
https://github.com/neondatabase/neon.git
synced 2026-01-10 23:12:54 +00:00
Update pgxn/neon/pagestore_client.h
Co-authored-by: Heikki Linnakangas <heikki@neon.tech>
This commit is contained in:
committed by
Konstantin Knizhnik
parent
2c0a87af68
commit
02ecb1ebbf
@@ -307,9 +307,22 @@ extern void forget_cached_relsize(NRelFileInfo rinfo, ForkNumber forknum);
|
||||
*/
|
||||
typedef enum
|
||||
{
|
||||
/* The persistence is not known */
|
||||
RELKIND_UNKNOWN,
|
||||
|
||||
/* The relation is a permanent relation that is WAL-logged normally */
|
||||
RELKIND_PERMANENT,
|
||||
|
||||
/* The relation is an unlogged table/index, stored only on local disk */
|
||||
RELKIND_UNLOGGED,
|
||||
|
||||
/*
|
||||
* The relation is a permanent (index) relation, but it is being built by an in-progress
|
||||
* transaction. It currently only lives on local disk and hasn't been WAL-logged yet.
|
||||
* It will turn into a permanent relation later when the index build completes.
|
||||
* This is currently used for GiST, SP-GiST and GIN indexes, as well as the pgvector
|
||||
* extension.
|
||||
*/
|
||||
RELKIND_UNLOGGED_BUILD /* buildig index for permanent relation */
|
||||
} RelKind;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user