Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PG16: ExecInsertIndexTuples requires additional parameter #5921

Conversation

lkshminarayanan
Copy link
Contributor

@lkshminarayanan lkshminarayanan commented Aug 2, 2023

PG16 adds a new boolean parameter to the ExecInsertIndexTuples function to denote if the index is a BRIN index, which is then used to determine if the index update can be skipped. The fix also removes the INDEX_ATTR_BITMAP_ALL enum value.

Adapt these changes by updating the compat function to accomodate the new parameter added to the ExecInsertIndexTuples function and using an alternative for the removed INDEX_ATTR_BITMAP_ALL enum value.

postgres/postgres@19d8e23

Disable-check: force-changelog-file

PG16 adds a new boolean parameter to the ExecInsertIndexTuples function
to denote if the index is a BRIN index, which is then used to determine
if the index update can be skipped. The fix also removes the
INDEX_ATTR_BITMAP_ALL enum value.

Adapt these changes by updating the compat function to accomodate the
new parameter added to the ExecInsertIndexTuples function and using an
alternative for the removed INDEX_ATTR_BITMAP_ALL enum value.

postgres/postgres@19d8e23
@lkshminarayanan lkshminarayanan self-assigned this Aug 2, 2023
@lkshminarayanan lkshminarayanan added the pg16 Issue/PR related to support for PG16 label Aug 2, 2023
@codecov
Copy link

codecov bot commented Aug 2, 2023

Codecov Report

Merging #5921 (70fd589) into main (52ed394) will decrease coverage by 0.02%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main    #5921      +/-   ##
==========================================
- Coverage   87.15%   87.13%   -0.02%     
==========================================
  Files         243      243              
  Lines       55821    55548     -273     
  Branches    12358    12266      -92     
==========================================
- Hits        48649    48400     -249     
+ Misses       4855     4831      -24     
  Partials     2317     2317              
Files Changed Coverage Δ
src/compat/compat.h 92.15% <ø> (+6.70%) ⬆️
src/copy.c 91.41% <ø> (-0.19%) ⬇️
tsl/src/compression/compression.c 91.48% <ø> (-0.07%) ⬇️
src/import/ht_hypertable_modify.c 77.19% <100.00%> (+16.60%) ⬆️
src/nodes/hypertable_modify.c 62.60% <100.00%> (-1.84%) ⬇️

... and 27 files with indirect coverage changes

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@lkshminarayanan lkshminarayanan marked this pull request as ready for review August 3, 2023 08:20
@github-actions
Copy link

github-actions bot commented Aug 3, 2023

@mkindahl, @pmwkaa: please review this pull request.

Powered by pull-review

@lkshminarayanan lkshminarayanan merged commit 3af0d28 into timescale:main Aug 8, 2023
40 of 41 checks passed
@lkshminarayanan lkshminarayanan deleted the pg16-exec-insert-index-tuples branch August 8, 2023 21:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pg16 Issue/PR related to support for PG16
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants