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

Handle NULL as attstattarget default value in PG17 #7105

Merged
merged 2 commits into from
Jul 7, 2024

Conversation

svenklemm
Copy link
Member

@svenklemm svenklemm commented Jul 5, 2024

PG17 changed attstattarget to be NULLABLE and changed the default to NULL. This patch changes the pg_attribute to produce the same result against PG17 and previous versions.

postgres/postgres@4f62250

Disable-check: commit-count
Disable-check: force-changelog-file

@svenklemm svenklemm self-assigned this Jul 5, 2024
@svenklemm svenklemm added the pg17 label Jul 5, 2024
@svenklemm svenklemm force-pushed the pg17_attstattarget_nullable branch from 6063c1d to 591d792 Compare July 5, 2024 17:50
@svenklemm svenklemm force-pushed the pg17_attstattarget_nullable branch from 591d792 to ee45175 Compare July 6, 2024 13:12
PG17 changed attstattarget to be NULLABLE and changed the default
to NULL. This patch changes the pg_attribute to produce the same
result against PG17 and previous versions.

postgres/postgres@4f62250
Copy link

codecov bot commented Jul 6, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 81.78%. Comparing base (59f50f2) to head (72f066f).
Report is 243 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #7105      +/-   ##
==========================================
+ Coverage   80.06%   81.78%   +1.71%     
==========================================
  Files         190      202      +12     
  Lines       37181    37396     +215     
  Branches     9450     9760     +310     
==========================================
+ Hits        29770    30583     +813     
+ Misses       2997     2893     -104     
+ Partials     4414     3920     -494     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@KES777 KES777 mentioned this pull request Jul 7, 2024
@svenklemm svenklemm merged commit 3c58c3f into timescale:main Jul 7, 2024
41 of 44 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants