/dports/databases/timescaledb/timescaledb-2.5.1/src/ |
H A D | indexing.c | 412 Oid index_relid = InvalidOid; in ts_indexing_find_clustered_index() local 422 index_relid = lfirst_oid(index); in ts_indexing_find_clustered_index() 423 idxtuple = SearchSysCache1(INDEXRELID, ObjectIdGetDatum(index_relid)); in ts_indexing_find_clustered_index() 427 index_relid); in ts_indexing_find_clustered_index() 436 index_relid = InvalidOid; in ts_indexing_find_clustered_index() 441 return index_relid; in ts_indexing_find_clustered_index()
|
H A D | process_utility.c | 2750 Oid index_relid; in process_cluster_start() local 2771 index_relid = ts_indexing_find_clustered_index(ht->main_table_relid); in process_cluster_start() 2772 if (!OidIsValid(index_relid)) in process_cluster_start() 2779 index_relid = in process_cluster_start() 2782 if (!OidIsValid(index_relid)) in process_cluster_start() 2797 index_rel = index_open(index_relid, AccessShareLock); in process_cluster_start() 2806 ts_chunk_index_mark_clustered(ht->main_table_relid, index_relid); in process_cluster_start() 2822 chunk_indexes = ts_chunk_index_get_mappings(ht, index_relid); in process_cluster_start() 2995 Oid index_relid = in process_altertable_clusteron_end() local 3001 if (!OidIsValid(index_relid)) in process_altertable_clusteron_end() [all …]
|
/dports/databases/timescaledb/timescaledb-2.5.1/tsl/src/ |
H A D | reorder.c | 90 static bool chunk_get_reorder_index(Hypertable *ht, Chunk *chunk, Oid index_relid, 391 chunk_get_reorder_index(Hypertable *ht, Chunk *chunk, Oid index_relid, ChunkIndexMapping *cim_out) in chunk_get_reorder_index() argument 397 if (OidIsValid(index_relid)) in chunk_get_reorder_index() 399 if (ts_chunk_index_get_by_indexrelid(chunk, index_relid, cim_out)) in chunk_get_reorder_index() 402 return ts_chunk_index_get_by_hypertable_indexrelid(chunk, index_relid, cim_out); in chunk_get_reorder_index() 405 index_relid = ts_indexing_find_clustered_index(chunk->table_id); in chunk_get_reorder_index() 406 if (OidIsValid(index_relid)) in chunk_get_reorder_index() 407 return ts_chunk_index_get_by_indexrelid(chunk, index_relid, cim_out); in chunk_get_reorder_index() 409 index_relid = ts_indexing_find_clustered_index(ht->main_table_relid); in chunk_get_reorder_index() 410 if (OidIsValid(index_relid)) in chunk_get_reorder_index() [all …]
|
/dports/databases/timescaledb/timescaledb-2.5.1/tsl/src/bgw_policy/ |
H A D | job.h | 24 Oid index_relid; member
|
/dports/databases/postgresql14-pltcl/postgresql-14.1/src/backend/optimizer/path/ |
H A D | indxpath.c | 2474 Index index_relid; in match_opclause_to_indexcol() local 2491 index_relid = index->rel->relid; in match_opclause_to_indexcol() 2505 !bms_is_member(index_relid, rinfo->right_relids) && in match_opclause_to_indexcol() 2534 !bms_is_member(index_relid, rinfo->left_relids) && in match_opclause_to_indexcol() 2705 Index index_relid; in match_saopclause_to_indexcol() local 2718 index_relid = index->rel->relid; in match_saopclause_to_indexcol() 2726 !bms_is_member(index_relid, right_relids) && in match_saopclause_to_indexcol() 2768 Index index_relid; in match_rowcompare_to_indexcol() local 2781 index_relid = index->rel->relid; in match_rowcompare_to_indexcol() 2808 !bms_is_member(index_relid, pull_varnos(root, rightop)) && in match_rowcompare_to_indexcol() [all …]
|
/dports/databases/postgresql14-server/postgresql-14.1/src/backend/optimizer/path/ |
H A D | indxpath.c | 2474 Index index_relid; in match_opclause_to_indexcol() local 2491 index_relid = index->rel->relid; in match_opclause_to_indexcol() 2505 !bms_is_member(index_relid, rinfo->right_relids) && in match_opclause_to_indexcol() 2534 !bms_is_member(index_relid, rinfo->left_relids) && in match_opclause_to_indexcol() 2705 Index index_relid; in match_saopclause_to_indexcol() local 2718 index_relid = index->rel->relid; in match_saopclause_to_indexcol() 2726 !bms_is_member(index_relid, right_relids) && in match_saopclause_to_indexcol() 2768 Index index_relid; in match_rowcompare_to_indexcol() local 2781 index_relid = index->rel->relid; in match_rowcompare_to_indexcol() 2808 !bms_is_member(index_relid, pull_varnos(root, rightop)) && in match_rowcompare_to_indexcol() [all …]
|
/dports/databases/postgresql14-contrib/postgresql-14.1/src/backend/optimizer/path/ |
H A D | indxpath.c | 2474 Index index_relid; 2491 index_relid = index->rel->relid; 2505 !bms_is_member(index_relid, rinfo->right_relids) && 2534 !bms_is_member(index_relid, rinfo->left_relids) && 2705 Index index_relid; 2718 index_relid = index->rel->relid; 2726 !bms_is_member(index_relid, right_relids) && 2768 Index index_relid; 2781 index_relid = index->rel->relid; 2808 !bms_is_member(index_relid, pull_varnos(root, rightop)) && [all …]
|
/dports/databases/postgresql14-plperl/postgresql-14.1/src/backend/optimizer/path/ |
H A D | indxpath.c | 2474 Index index_relid; in match_opclause_to_indexcol() local 2491 index_relid = index->rel->relid; in match_opclause_to_indexcol() 2505 !bms_is_member(index_relid, rinfo->right_relids) && in match_opclause_to_indexcol() 2534 !bms_is_member(index_relid, rinfo->left_relids) && in match_opclause_to_indexcol() 2705 Index index_relid; in match_saopclause_to_indexcol() local 2718 index_relid = index->rel->relid; in match_saopclause_to_indexcol() 2726 !bms_is_member(index_relid, right_relids) && in match_saopclause_to_indexcol() 2768 Index index_relid; in match_rowcompare_to_indexcol() local 2781 index_relid = index->rel->relid; in match_rowcompare_to_indexcol() 2808 !bms_is_member(index_relid, pull_varnos(root, rightop)) && in match_rowcompare_to_indexcol() [all …]
|
/dports/databases/postgresql14-plpython/postgresql-14.1/src/backend/optimizer/path/ |
H A D | indxpath.c | 2474 Index index_relid; in match_opclause_to_indexcol() local 2491 index_relid = index->rel->relid; in match_opclause_to_indexcol() 2505 !bms_is_member(index_relid, rinfo->right_relids) && in match_opclause_to_indexcol() 2534 !bms_is_member(index_relid, rinfo->left_relids) && in match_opclause_to_indexcol() 2705 Index index_relid; in match_saopclause_to_indexcol() local 2718 index_relid = index->rel->relid; in match_saopclause_to_indexcol() 2726 !bms_is_member(index_relid, right_relids) && in match_saopclause_to_indexcol() 2768 Index index_relid; in match_rowcompare_to_indexcol() local 2781 index_relid = index->rel->relid; in match_rowcompare_to_indexcol() 2808 !bms_is_member(index_relid, pull_varnos(root, rightop)) && in match_rowcompare_to_indexcol() [all …]
|
/dports/databases/postgresql13-server/postgresql-13.5/src/backend/optimizer/path/ |
H A D | indxpath.c | 2479 Index index_relid; in match_opclause_to_indexcol() local 2496 index_relid = index->rel->relid; in match_opclause_to_indexcol() 2510 !bms_is_member(index_relid, rinfo->right_relids) && in match_opclause_to_indexcol() 2539 !bms_is_member(index_relid, rinfo->left_relids) && in match_opclause_to_indexcol() 2710 Index index_relid; in match_saopclause_to_indexcol() local 2723 index_relid = index->rel->relid; in match_saopclause_to_indexcol() 2731 !bms_is_member(index_relid, right_relids) && in match_saopclause_to_indexcol() 2773 Index index_relid; in match_rowcompare_to_indexcol() local 2786 index_relid = index->rel->relid; in match_rowcompare_to_indexcol() 2813 !bms_is_member(index_relid, pull_varnos(root, rightop)) && in match_rowcompare_to_indexcol() [all …]
|
/dports/databases/postgresql14-client/postgresql-14.1/src/backend/optimizer/path/ |
H A D | indxpath.c | 2474 Index index_relid; 2491 index_relid = index->rel->relid; 2505 !bms_is_member(index_relid, rinfo->right_relids) && 2534 !bms_is_member(index_relid, rinfo->left_relids) && 2705 Index index_relid; 2718 index_relid = index->rel->relid; 2726 !bms_is_member(index_relid, right_relids) && 2768 Index index_relid; 2781 index_relid = index->rel->relid; 2808 !bms_is_member(index_relid, pull_varnos(root, rightop)) && [all …]
|
/dports/databases/postgresql14-docs/postgresql-14.1/src/backend/optimizer/path/ |
H A D | indxpath.c | 2474 Index index_relid; in match_opclause_to_indexcol() local 2491 index_relid = index->rel->relid; in match_opclause_to_indexcol() 2505 !bms_is_member(index_relid, rinfo->right_relids) && in match_opclause_to_indexcol() 2534 !bms_is_member(index_relid, rinfo->left_relids) && in match_opclause_to_indexcol() 2705 Index index_relid; in match_saopclause_to_indexcol() local 2718 index_relid = index->rel->relid; in match_saopclause_to_indexcol() 2726 !bms_is_member(index_relid, right_relids) && in match_saopclause_to_indexcol() 2768 Index index_relid; in match_rowcompare_to_indexcol() local 2781 index_relid = index->rel->relid; in match_rowcompare_to_indexcol() 2808 !bms_is_member(index_relid, pull_varnos(root, rightop)) && in match_rowcompare_to_indexcol() [all …]
|
/dports/databases/postgresql13-pltcl/postgresql-13.5/src/backend/optimizer/path/ |
H A D | indxpath.c | 2479 Index index_relid; in match_opclause_to_indexcol() local 2496 index_relid = index->rel->relid; in match_opclause_to_indexcol() 2510 !bms_is_member(index_relid, rinfo->right_relids) && in match_opclause_to_indexcol() 2539 !bms_is_member(index_relid, rinfo->left_relids) && in match_opclause_to_indexcol() 2710 Index index_relid; in match_saopclause_to_indexcol() local 2723 index_relid = index->rel->relid; in match_saopclause_to_indexcol() 2731 !bms_is_member(index_relid, right_relids) && in match_saopclause_to_indexcol() 2773 Index index_relid; in match_rowcompare_to_indexcol() local 2786 index_relid = index->rel->relid; in match_rowcompare_to_indexcol() 2813 !bms_is_member(index_relid, pull_varnos(root, rightop)) && in match_rowcompare_to_indexcol() [all …]
|
/dports/databases/postgresql12-server/postgresql-12.9/src/backend/optimizer/path/ |
H A D | indxpath.c | 2487 Index index_relid; in match_opclause_to_indexcol() local 2504 index_relid = index->rel->relid; in match_opclause_to_indexcol() 2518 !bms_is_member(index_relid, rinfo->right_relids) && in match_opclause_to_indexcol() 2547 !bms_is_member(index_relid, rinfo->left_relids) && in match_opclause_to_indexcol() 2718 Index index_relid; in match_saopclause_to_indexcol() local 2731 index_relid = index->rel->relid; in match_saopclause_to_indexcol() 2739 !bms_is_member(index_relid, right_relids) && in match_saopclause_to_indexcol() 2781 Index index_relid; in match_rowcompare_to_indexcol() local 2794 index_relid = index->rel->relid; in match_rowcompare_to_indexcol() 2821 !bms_is_member(index_relid, pull_varnos(root, rightop)) && in match_rowcompare_to_indexcol() [all …]
|
/dports/databases/postgresql13-docs/postgresql-13.5/src/backend/optimizer/path/ |
H A D | indxpath.c | 2479 Index index_relid; in match_opclause_to_indexcol() local 2496 index_relid = index->rel->relid; in match_opclause_to_indexcol() 2510 !bms_is_member(index_relid, rinfo->right_relids) && in match_opclause_to_indexcol() 2539 !bms_is_member(index_relid, rinfo->left_relids) && in match_opclause_to_indexcol() 2710 Index index_relid; in match_saopclause_to_indexcol() local 2723 index_relid = index->rel->relid; in match_saopclause_to_indexcol() 2731 !bms_is_member(index_relid, right_relids) && in match_saopclause_to_indexcol() 2773 Index index_relid; in match_rowcompare_to_indexcol() local 2786 index_relid = index->rel->relid; in match_rowcompare_to_indexcol() 2813 !bms_is_member(index_relid, pull_varnos(root, rightop)) && in match_rowcompare_to_indexcol() [all …]
|
/dports/databases/postgresql12-contrib/postgresql-12.9/src/backend/optimizer/path/ |
H A D | indxpath.c | 2487 Index index_relid; 2504 index_relid = index->rel->relid; 2518 !bms_is_member(index_relid, rinfo->right_relids) && 2547 !bms_is_member(index_relid, rinfo->left_relids) && 2718 Index index_relid; 2731 index_relid = index->rel->relid; 2739 !bms_is_member(index_relid, right_relids) && 2781 Index index_relid; 2794 index_relid = index->rel->relid; 2821 !bms_is_member(index_relid, pull_varnos(root, rightop)) && [all …]
|
/dports/databases/postgresql12-pltcl/postgresql-12.9/src/backend/optimizer/path/ |
H A D | indxpath.c | 2487 Index index_relid; in match_opclause_to_indexcol() local 2504 index_relid = index->rel->relid; in match_opclause_to_indexcol() 2518 !bms_is_member(index_relid, rinfo->right_relids) && in match_opclause_to_indexcol() 2547 !bms_is_member(index_relid, rinfo->left_relids) && in match_opclause_to_indexcol() 2718 Index index_relid; in match_saopclause_to_indexcol() local 2731 index_relid = index->rel->relid; in match_saopclause_to_indexcol() 2739 !bms_is_member(index_relid, right_relids) && in match_saopclause_to_indexcol() 2781 Index index_relid; in match_rowcompare_to_indexcol() local 2794 index_relid = index->rel->relid; in match_rowcompare_to_indexcol() 2821 !bms_is_member(index_relid, pull_varnos(root, rightop)) && in match_rowcompare_to_indexcol() [all …]
|
/dports/databases/postgresql13-contrib/postgresql-13.5/src/backend/optimizer/path/ |
H A D | indxpath.c | 2479 Index index_relid; in match_opclause_to_indexcol() local 2496 index_relid = index->rel->relid; in match_opclause_to_indexcol() 2510 !bms_is_member(index_relid, rinfo->right_relids) && in match_opclause_to_indexcol() 2539 !bms_is_member(index_relid, rinfo->left_relids) && in match_opclause_to_indexcol() 2710 Index index_relid; in match_saopclause_to_indexcol() local 2723 index_relid = index->rel->relid; in match_saopclause_to_indexcol() 2731 !bms_is_member(index_relid, right_relids) && in match_saopclause_to_indexcol() 2773 Index index_relid; in match_rowcompare_to_indexcol() local 2786 index_relid = index->rel->relid; in match_rowcompare_to_indexcol() 2813 !bms_is_member(index_relid, pull_varnos(root, rightop)) && in match_rowcompare_to_indexcol() [all …]
|
/dports/databases/postgresql12-plpython/postgresql-12.9/src/backend/optimizer/path/ |
H A D | indxpath.c | 2487 Index index_relid; 2504 index_relid = index->rel->relid; 2518 !bms_is_member(index_relid, rinfo->right_relids) && 2547 !bms_is_member(index_relid, rinfo->left_relids) && 2718 Index index_relid; 2731 index_relid = index->rel->relid; 2739 !bms_is_member(index_relid, right_relids) && 2781 Index index_relid; 2794 index_relid = index->rel->relid; 2821 !bms_is_member(index_relid, pull_varnos(root, rightop)) && [all …]
|
/dports/databases/postgresql12-plperl/postgresql-12.9/src/backend/optimizer/path/ |
H A D | indxpath.c | 2487 Index index_relid; 2504 index_relid = index->rel->relid; 2518 !bms_is_member(index_relid, rinfo->right_relids) && 2547 !bms_is_member(index_relid, rinfo->left_relids) && 2718 Index index_relid; 2731 index_relid = index->rel->relid; 2739 !bms_is_member(index_relid, right_relids) && 2781 Index index_relid; 2794 index_relid = index->rel->relid; 2821 !bms_is_member(index_relid, pull_varnos(root, rightop)) && [all …]
|
/dports/databases/postgresql12-docs/postgresql-12.9/src/backend/optimizer/path/ |
H A D | indxpath.c | 2487 Index index_relid; in match_opclause_to_indexcol() local 2504 index_relid = index->rel->relid; in match_opclause_to_indexcol() 2518 !bms_is_member(index_relid, rinfo->right_relids) && in match_opclause_to_indexcol() 2547 !bms_is_member(index_relid, rinfo->left_relids) && in match_opclause_to_indexcol() 2718 Index index_relid; in match_saopclause_to_indexcol() local 2731 index_relid = index->rel->relid; in match_saopclause_to_indexcol() 2739 !bms_is_member(index_relid, right_relids) && in match_saopclause_to_indexcol() 2781 Index index_relid; in match_rowcompare_to_indexcol() local 2794 index_relid = index->rel->relid; in match_rowcompare_to_indexcol() 2821 !bms_is_member(index_relid, pull_varnos(root, rightop)) && in match_rowcompare_to_indexcol() [all …]
|
/dports/databases/postgresql12-client/postgresql-12.9/src/backend/optimizer/path/ |
H A D | indxpath.c | 2487 Index index_relid; 2504 index_relid = index->rel->relid; 2518 !bms_is_member(index_relid, rinfo->right_relids) && 2547 !bms_is_member(index_relid, rinfo->left_relids) && 2718 Index index_relid; 2731 index_relid = index->rel->relid; 2739 !bms_is_member(index_relid, right_relids) && 2781 Index index_relid; 2794 index_relid = index->rel->relid; 2821 !bms_is_member(index_relid, pull_varnos(root, rightop)) && [all …]
|
/dports/databases/postgresql13-plpython/postgresql-13.5/src/backend/optimizer/path/ |
H A D | indxpath.c | 2479 Index index_relid; 2496 index_relid = index->rel->relid; 2510 !bms_is_member(index_relid, rinfo->right_relids) && 2539 !bms_is_member(index_relid, rinfo->left_relids) && 2710 Index index_relid; 2723 index_relid = index->rel->relid; 2731 !bms_is_member(index_relid, right_relids) && 2773 Index index_relid; 2786 index_relid = index->rel->relid; 2813 !bms_is_member(index_relid, pull_varnos(root, rightop)) && [all …]
|
/dports/databases/postgresql13-plperl/postgresql-13.5/src/backend/optimizer/path/ |
H A D | indxpath.c | 2479 Index index_relid; in match_opclause_to_indexcol() local 2496 index_relid = index->rel->relid; in match_opclause_to_indexcol() 2510 !bms_is_member(index_relid, rinfo->right_relids) && in match_opclause_to_indexcol() 2539 !bms_is_member(index_relid, rinfo->left_relids) && in match_opclause_to_indexcol() 2710 Index index_relid; in match_saopclause_to_indexcol() local 2723 index_relid = index->rel->relid; in match_saopclause_to_indexcol() 2731 !bms_is_member(index_relid, right_relids) && in match_saopclause_to_indexcol() 2773 Index index_relid; in match_rowcompare_to_indexcol() local 2786 index_relid = index->rel->relid; in match_rowcompare_to_indexcol() 2813 !bms_is_member(index_relid, pull_varnos(root, rightop)) && in match_rowcompare_to_indexcol() [all …]
|
/dports/databases/postgresql13-client/postgresql-13.5/src/backend/optimizer/path/ |
H A D | indxpath.c | 2479 Index index_relid; in match_opclause_to_indexcol() local 2496 index_relid = index->rel->relid; in match_opclause_to_indexcol() 2510 !bms_is_member(index_relid, rinfo->right_relids) && in match_opclause_to_indexcol() 2539 !bms_is_member(index_relid, rinfo->left_relids) && in match_opclause_to_indexcol() 2710 Index index_relid; in match_saopclause_to_indexcol() local 2723 index_relid = index->rel->relid; in match_saopclause_to_indexcol() 2731 !bms_is_member(index_relid, right_relids) && in match_saopclause_to_indexcol() 2773 Index index_relid; in match_rowcompare_to_indexcol() local 2786 index_relid = index->rel->relid; in match_rowcompare_to_indexcol() 2813 !bms_is_member(index_relid, pull_varnos(root, rightop)) && in match_rowcompare_to_indexcol() [all …]
|