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

Adds PG17.0 support - Regression tests sanity #7661

Draft
wants to merge 9 commits into
base: release-13.0
Choose a base branch
from

Conversation

Copy link

codecov bot commented Jul 25, 2024

Codecov Report

Attention: Patch coverage is 0% with 5 lines in your changes missing coverage. Please review.

Please upload report for BASE (release-13.0@c0a5f5c). Learn more about missing BASE report.

Additional details and impacted files
@@               Coverage Diff               @@
##             release-13.0    #7661   +/-   ##
===============================================
  Coverage                ?   14.60%           
===============================================
  Files                   ?      274           
  Lines                   ?    59381           
  Branches                ?     7355           
===============================================
  Hits                    ?     8672           
  Misses                  ?    49696           
  Partials                ?     1013           

@naisila naisila force-pushed the naisila/pg17_support branch 6 times, most recently from 5d4c7db to ba0b06b Compare July 30, 2024 16:03
@naisila naisila changed the title Adds PG17beta2 support Adds PG17.0 support Oct 6, 2024
@naisila naisila changed the title Adds PG17.0 support Adds PG17beta2 support Oct 6, 2024
@naisila naisila changed the title Adds PG17beta2 support Adds PG17.0 support Nov 10, 2024
@naisila naisila changed the base branch from main to release-13.0 November 10, 2024 20:03
@naisila naisila changed the title Adds PG17.0 support Adds PG17.0 support - Regression tests sanity Nov 10, 2024
naisila and others added 9 commits November 11, 2024 11:57
(cherry picked from commit ae3ed7d)
(cherry picked from commit 76f60a7)
(cherry picked from commit df9c7b4)
In PG17, the outer loop in acquire_sample_rows() changed
from
while (BlockSampler_HasMore(&bs))
to
while (table_scan_analyze_next_block(scan, stream))

Relevant PG commit:
041b96802efa33d2bc9456f2ad946976b92b5ae1
postgres/postgres@041b968

It is expected that the scan_analyze_next_block function will
check if there are any blocks left. So we add that check in
columnar_scan_analyze_next_block

(cherry picked from commit 7eb0ad5)
PG 17 added support for DEFAULT in ALTER TABLE .. SET ACCESS METHOD

Relevant PG commit:
d61a6cad6418f643a5773352038d0dfe5d3535b8
postgres/postgres@d61a6ca

In that case, name in AlterTableCmd would be null.
Add a null check here to avoid crash.

(cherry picked from commit 71b9974)
…tests

Fix pg15 pg16 multi_mx_create_table multi_schema_support

Relevant PG commit:
postgres/postgres@f696c0c
f696c0cd5f299f1b51e214efc55a22a782cc175d

(cherry picked from commit 17a2ed0)
Relevant PG commit:
f69319f2f1fb16eda4b535bcccec90dff3a6795e
postgres/postgres@f69319f

(cherry picked from commit 6c12b10)
This PR addresses a regression test failure in the multi-mx feature of
Citus with the new PostgreSQL 17 version. The regression was identified
during the execution of multi-node tests, specifically targeting
compatibility issues introduced with PostgreSQL 17.

---------

Co-authored-by: Mehmet YILMAZ <[email protected]>
(cherry picked from commit 70cf729)
This reverts commit e4040dd.

Reverting for now as this commit is fixing more than one thing
at once at multi_extension.out file

Its a harmless revert for testing purposes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

PG17.0 Support - Regression tests sanity
2 participants