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

Add workflow to test PG14 #3349

Merged
merged 3 commits into from Jun 24, 2021
Merged

Conversation

svenklemm
Copy link
Member

@svenklemm svenklemm commented Jun 21, 2021

Disable-check: commit-count

@svenklemm svenklemm requested a review from a team as a code owner June 21, 2021 10:06
@svenklemm svenklemm requested review from afiskon, nikkhils and mfundul and removed request for a team June 21, 2021 10:06
@codecov
Copy link

codecov bot commented Jun 21, 2021

Codecov Report

Merging #3349 (12d088e) into master (33dfdcf) will decrease coverage by 0.02%.
The diff coverage is 100.00%.

❗ Current head 12d088e differs from pull request most recent head 44fe767. Consider uploading reports for the commit 44fe767 to get more accurate results
Impacted file tree graph

@@            Coverage Diff             @@
##           master    #3349      +/-   ##
==========================================
- Coverage   90.61%   90.59%   -0.03%     
==========================================
  Files         212      212              
  Lines       35588    35592       +4     
==========================================
- Hits        32248    32243       -5     
- Misses       3340     3349       +9     
Impacted Files Coverage Δ
src/compat.h 100.00% <ø> (ø)
src/process_utility.c 94.04% <100.00%> (+0.01%) ⬆️
src/loader/bgw_launcher.c 89.47% <0.00%> (-2.48%) ⬇️
tsl/src/nodes/data_node_dispatch.c 97.08% <0.00%> (-0.25%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 4a599ba...44fe767. Read the comment docs.

Copy link
Contributor

@mkindahl mkindahl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A few minor comments, but I mostly wonder if we should run it on a schedule. It could cause a lot of extra noise because of flakes and I do not think it is needed.

.github/workflows/postgres_dev.yaml Outdated Show resolved Hide resolved
.github/workflows/postgres_dev.yaml Outdated Show resolved Hide resolved
.github/workflows/postgres_dev.yaml Show resolved Hide resolved
.github/workflows/postgres_dev.yaml Show resolved Hide resolved
@@ -96,6 +96,7 @@ set(CMAKE_EXPORT_COMPILE_COMMANDS ON)

# Code coverage is optional and OFF by default
option(CODECOVERAGE "Enable code coverage for the build" OFF)
option(EXPERIMENTAL "Skip postgres version compatibility check" OFF)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

... or DEVELOPMENT. No opinion, just offering alternatives.

Copy link
Contributor

@mkindahl mkindahl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@svenklemm svenklemm force-pushed the pg14_workflow branch 4 times, most recently from e30553d to e5db993 Compare June 24, 2021 10:41
This patch adds a new EXPERIMENTAL flag to cmake allowing skipping
the check for a compatible postgres version. It also adds macros
needed for PG14 support.
PG14 renames field relkind for CreateTableAsStmt and AlterTableStmt
to objtype.

postgres/postgres@cc35d8933a
PG14 changes xact.h to no longer include fmgr.h which is needed
for PG_FUNCTION_ARGS definition. This patch includes fmgr.h
explicitly to no longer rely on the indirect include.

postgres/postgres@3941eb6341
@svenklemm svenklemm merged commit 4aba9a3 into timescale:master Jun 24, 2021
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.

None yet

3 participants