One Hat Cyber Team
Your IP :
216.73.216.216
Server IP :
194.44.31.54
Server :
Linux zen.imath.kiev.ua 4.18.0-553.77.1.el8_10.x86_64 #1 SMP Fri Oct 3 14:30:23 UTC 2025 x86_64
Server Software :
Apache/2.4.37 (Rocky Linux) OpenSSL/1.1.1k
PHP Version :
5.6.40
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
usr
/
pgsql-13
/
include
/
server
/
access
/
View File Name :
brin.h
/* * AM-callable functions for BRIN indexes * * Portions Copyright (c) 1996-2020, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * * IDENTIFICATION * src/include/access/brin.h */ #ifndef BRIN_H #define BRIN_H #include "nodes/execnodes.h" #include "utils/relcache.h" /* * Storage type for BRIN's reloptions */ typedef struct BrinOptions { int32 vl_len_; /* varlena header (do not touch directly!) */ BlockNumber pagesPerRange; bool autosummarize; } BrinOptions; /* * BrinStatsData represents stats data for planner use */ typedef struct BrinStatsData { BlockNumber pagesPerRange; BlockNumber revmapNumPages; } BrinStatsData; #define BRIN_DEFAULT_PAGES_PER_RANGE 128 #define BrinGetPagesPerRange(relation) \ (AssertMacro(relation->rd_rel->relkind == RELKIND_INDEX && \ relation->rd_rel->relam == BRIN_AM_OID), \ (relation)->rd_options ? \ ((BrinOptions *) (relation)->rd_options)->pagesPerRange : \ BRIN_DEFAULT_PAGES_PER_RANGE) #define BrinGetAutoSummarize(relation) \ (AssertMacro(relation->rd_rel->relkind == RELKIND_INDEX && \ relation->rd_rel->relam == BRIN_AM_OID), \ (relation)->rd_options ? \ ((BrinOptions *) (relation)->rd_options)->autosummarize : \ false) extern void brinGetStats(Relation index, BrinStatsData *stats); #endif /* BRIN_H */