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.1 support - Regression tests sanity #7661

Merged
merged 4 commits into from
Dec 24, 2024

Conversation

naisila
Copy link
Member

@naisila naisila commented Jul 25, 2024

Compilation PR: #7699
Ruleutils PR: #7725

Sister PR for tests: citusdata/the-process#159

This PR keeps track of Regression tests sanity with PG17. It is used as a reference for tests in all the small PRs listed below.
Fixes #7653

Helpful smaller PRs:

Copy link

codecov bot commented Jul 25, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

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

Additional details and impacted files
@@               Coverage Diff               @@
##             release-13.0    #7661   +/-   ##
===============================================
  Coverage                ?   89.63%           
===============================================
  Files                   ?      274           
  Lines                   ?    59713           
  Branches                ?     7449           
===============================================
  Hits                    ?    53525           
  Misses                  ?     4055           
  Partials                ?     2133           

@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 force-pushed the naisila/pg17_support branch from 70cf729 to e4040dd Compare November 10, 2024 20:03
@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 force-pushed the naisila/pg17_support branch from 9240944 to 3447abc Compare November 10, 2024 20:56
@naisila naisila changed the title Adds PG17.0 support Adds PG17.0 support - Regression tests sanity Nov 10, 2024
@naisila naisila force-pushed the naisila/pg17_support branch 2 times, most recently from b29c332 to 1cf690f Compare November 17, 2024 20:46
@naisila naisila force-pushed the naisila/pg17_support branch 9 times, most recently from e108bb8 to c396ce6 Compare November 22, 2024 13:27
@naisila naisila force-pushed the naisila/pg17_support branch 2 times, most recently from a12026b to 6be0649 Compare December 4, 2024 10:51
@naisila naisila force-pushed the naisila/pg17_support branch from 6be0649 to a8139f9 Compare December 5, 2024 10:18
@naisila naisila force-pushed the naisila/pg17_support branch 3 times, most recently from 1e55f40 to 1c39f95 Compare December 8, 2024 08:33
@naisila naisila force-pushed the naisila/pg17_support branch from 1c39f95 to e8352a8 Compare December 18, 2024 11:45
@naisila naisila force-pushed the naisila/pg17_support branch 6 times, most recently from c8c79ec to 3f72611 Compare December 20, 2024 17:14
@naisila naisila changed the title Adds PG17.0 support - Regression tests sanity Adds PG17.1 support - Regression tests sanity Dec 23, 2024
@naisila naisila force-pushed the naisila/pg17_support branch from 4a25781 to 7902d59 Compare December 23, 2024 10:31
@naisila naisila force-pushed the naisila/pg17_support branch 2 times, most recently from 3cde05a to a53615e Compare December 23, 2024 12:25
@naisila naisila marked this pull request as ready for review December 23, 2024 12:25
@naisila naisila force-pushed the naisila/pg17_support branch 3 times, most recently from 97af2b6 to 3d6c111 Compare December 23, 2024 14:31
naisila and others added 3 commits December 24, 2024 11:44
In `citus_prepare_upgrade()`, don't drop any_value when upgrading from
PG16+, because PG16+ has its own any_value function. Attempting to do so
results in the error seen in [pg16-pg17
upgrade](https://github.com/citusdata/citus/actions/runs/11768444117/job/32778340003?pr=7661):
```
ERROR:  cannot drop function any_value(anyelement) because it is required by the database system
CONTEXT:  SQL statement "DROP AGGREGATE IF EXISTS pg_catalog.any_value(anyelement)"
```
When 16 becomes the minimum supported Postgres version, the drop
statements can be removed.
@naisila naisila force-pushed the naisila/pg17_support branch from 3d6c111 to 83e7371 Compare December 24, 2024 08:44
@naisila naisila requested a review from onurctirtir December 24, 2024 09:45
naisila added a commit to citusdata/the-process that referenced this pull request Dec 24, 2024
PG17: Bison and Flex are now hard build requirements in configure

postgres/postgres@721856f

Sister PR citusdata/citus#7661
@naisila naisila merged commit 6fed917 into release-13.0 Dec 24, 2024
151 of 159 checks passed
@naisila naisila deleted the naisila/pg17_support branch December 24, 2024 14:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

PG17.1 Support - Regression tests sanity
3 participants