2880{
2892
2893
2894
2895
2896
2899
2900
2903
2904
2906
2907
2909
2910
2912 {
2915 }
2916 else
2917 {
2920 }
2921
2922
2924
2925
2928
2932
2933
2936
2937
2939
2940
2941
2942
2943
2944
2946
2948 heapRel, indexRel,
sortmem,
false);
2949
2950
2955
2958}
void pgstat_report_query_id(int64 query_id, bool force)
void pgstat_report_activity(BackendState state, const char *cmd_str)
#define InvalidBlockNumber
#define PARALLEL_KEY_BUFFER_USAGE
#define PARALLEL_KEY_BRIN_SHARED
static void _brin_parallel_scan_and_build(BrinBuildState *state, BrinShared *brinshared, Sharedsort *sharedsort, Relation heap, Relation index, int sortmem, bool progress)
static BrinBuildState * initialize_brin_buildstate(Relation idxRel, BrinRevmap *revmap, BlockNumber pagesPerRange, BlockNumber tablePages)
#define PARALLEL_KEY_TUPLESORT
#define PARALLEL_KEY_QUERY_TEXT
#define PARALLEL_KEY_WAL_USAGE
#define Assert(condition)
void index_close(Relation relation, LOCKMODE lockmode)
Relation index_open(Oid relationId, LOCKMODE lockmode)
void InstrEndParallelQuery(BufferUsage *bufusage, WalUsage *walusage)
void InstrStartParallelQuery(void)
#define AccessExclusiveLock
#define ShareUpdateExclusiveLock
const char * debug_query_string
void * shm_toc_lookup(shm_toc *toc, uint64 key, bool noError)
BlockNumber pagesPerRange
void table_close(Relation relation, LOCKMODE lockmode)
Relation table_open(Oid relationId, LOCKMODE lockmode)
void tuplesort_attach_shared(Sharedsort *shared, dsm_segment *seg)