clean code jin
This commit is contained in:
@ -136,10 +136,10 @@ extern bool index_insert(Relation indexRelation, Datum* values, const bool* isnu
|
||||
extern IndexScanDesc index_beginscan(Relation heapRelation, Relation indexRelation, Snapshot snapshot,
|
||||
int nkeys, int norderbys, ScanState* scan_state = NULL, ParallelIndexScanDesc pscan = NULL);
|
||||
extern void index_parallelscan_initialize(Relation heap_relation,
|
||||
Relation index_relation, ParallelIndexScanDesc p_index_scan);
|
||||
Relation index_relation, ParallelIndexScanDesc pIndexScan);
|
||||
extern IndexScanDesc index_beginscan_bitmap(Relation indexRelation, Snapshot snapshot, int nkeys, ScanState* scan_state=NULL);
|
||||
extern void index_rescan(IndexScanDesc scan, ScanKey keys, int nkeys, ScanKey orderbys, int norderbys);
|
||||
extern void index_rescan_parallel(IndexScanDesc scan);
|
||||
extern void IndexRescanParallel(IndexScanDesc scan);
|
||||
extern void index_endscan(IndexScanDesc scan);
|
||||
extern void index_markpos(IndexScanDesc scan);
|
||||
extern void index_restrpos(IndexScanDesc scan);
|
||||
|
||||
@ -1286,7 +1286,7 @@ extern Datum btbuild(PG_FUNCTION_ARGS);
|
||||
extern Datum btbuildempty(PG_FUNCTION_ARGS);
|
||||
extern Datum btinsert(PG_FUNCTION_ARGS);
|
||||
extern Datum btbeginscan(PG_FUNCTION_ARGS);
|
||||
extern void* btbuildparallelscan(void);
|
||||
extern void* Btbuildparallelscan(void);
|
||||
extern void Btinitparallelscan(void *target);
|
||||
extern Datum btgettuple(PG_FUNCTION_ARGS);
|
||||
extern Datum btgetbitmap(PG_FUNCTION_ARGS);
|
||||
|
||||
@ -171,7 +171,7 @@ typedef struct IndexScanDescData {
|
||||
#endif
|
||||
IndexFetchTableData *xs_heapfetch;
|
||||
/* parallel index scan information, in global variables */
|
||||
struct ParallelIndexScanDescData *parallel_scan;
|
||||
struct ParallelIndexScanDescData *parallelScan;
|
||||
/* put decompressed heap tuple data into xs_ctbuf_hdr be careful! when malloc memory should give extra mem for
|
||||
*xs_ctbuf_hdr. t_bits which is varlength arr
|
||||
*/
|
||||
@ -183,7 +183,7 @@ typedef struct IndexScanDescData {
|
||||
typedef struct ParallelIndexScanDescData {
|
||||
Oid ps_relid;
|
||||
Oid ps_indexid;
|
||||
void* ps_btpscan;
|
||||
void* psBtpscan;
|
||||
} ParallelIndexScanDescData;
|
||||
|
||||
#define SizeofIndexScanDescData (offsetof(IndexScanDescData, xs_ctbuf_hdr) + SizeofHeapTupleHeader)
|
||||
|
||||
Reference in New Issue
Block a user