diff options
Diffstat (limited to 'src/include/access/gist.h')
-rw-r--r-- | src/include/access/gist.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/include/access/gist.h b/src/include/access/gist.h index ce8bfd83ea4..6902f4115b7 100644 --- a/src/include/access/gist.h +++ b/src/include/access/gist.h @@ -50,6 +50,13 @@ typedef XLogRecPtr GistNSN; /* + * A bogus LSN / NSN value used during index build. Must be smaller than any + * real or fake unlogged LSN, so that after an index build finishes, all the + * splits are considered completed. + */ +#define GistBuildLSN ((XLogRecPtr) 1) + +/* * For on-disk compatibility with pre-9.3 servers, NSN is stored as two * 32-bit fields on disk, same as LSNs. */ |