PostgreSQL Source Code
git master
|
Go to the source code of this file.
Data Structures | |
struct | BrinOptions |
struct | BrinStatsData |
Macros | |
#define | BRIN_DEFAULT_PAGES_PER_RANGE 128 |
#define | BrinGetPagesPerRange(relation) |
#define | BrinGetAutoSummarize(relation) |
Typedefs | |
typedef struct BrinOptions | BrinOptions |
typedef struct BrinStatsData | BrinStatsData |
Functions | |
void | brinGetStats (Relation index, BrinStatsData *stats) |
#define BRIN_DEFAULT_PAGES_PER_RANGE 128 |
Definition at line 38 of file brin.h.
Referenced by brincostestimate().
#define BrinGetAutoSummarize | ( | relation | ) |
Definition at line 45 of file brin.h.
Referenced by brininsert().
#define BrinGetPagesPerRange | ( | relation | ) |
Definition at line 39 of file brin.h.
Referenced by brinbuild(), and brinbuildempty().
typedef struct BrinOptions BrinOptions |
typedef struct BrinStatsData BrinStatsData |
void brinGetStats | ( | Relation | index, |
BrinStatsData * | stats | ||
) |
Definition at line 1087 of file brin.c.
References BRIN_METAPAGE_BLKNO, BUFFER_LOCK_SHARE, BufferGetPage, BrinMetaPageData::lastRevmapPage, LockBuffer(), PageGetContents, BrinStatsData::pagesPerRange, BrinMetaPageData::pagesPerRange, ReadBuffer(), BrinStatsData::revmapNumPages, and UnlockReleaseBuffer().
Referenced by brincostestimate().