2881{
2893
2894
2895
2896
2897
2900
2901
2904
2905
2907
2908
2910
2911
2913 {
2916 }
2917 else
2918 {
2921 }
2922
2923
2925
2926
2929
2933
2934
2937
2938
2940
2941
2942
2943
2944
2945
2947
2949 heapRel, indexRel,
sortmem,
false);
2950
2951
2956
2959}
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)