Skip to content

Numerous bug fix and improvements#41

Merged
rjuju merged 5 commits intomasterfrom
ci
Jan 31, 2025
Merged

Numerous bug fix and improvements#41
rjuju merged 5 commits intomasterfrom
ci

Conversation

@rjuju
Copy link
Collaborator

@rjuju rjuju commented Jan 18, 2025

  • Improve and simplify the github workflow
  • Run CI against pg16
  • Fix multiple bugs for pg15 and below

@rjuju rjuju force-pushed the ci branch 4 times, most recently from e223a34 to d6a0963 Compare January 18, 2025 09:39
@rjuju rjuju mentioned this pull request Jan 18, 2025
df7cb and others added 3 commits January 19, 2025 09:23
Run the regression tests on PG 12 .. 16

Use the actual associated branch rather than the project default branch
On postgres 15 and below, pgsptokentype is defined to void rather than an
actual enum, so a lot of functions don't return anything.  But an empty
JSONACTION_RETURN_SUCCESS define doesn't exit the function as it would with
pg16+ definition, which leads to bogus behavior.  To fix, simply define
JSONACTION_RETURN_SUCCESS to "return" on pg 15 and below.
Numeric with a base, like 0b1 or 0x1 are not supported by the parser before
pg16, so we cannot test those in the regression tests for a test run against
all major versions.
@rjuju rjuju changed the title Run CI against PostgreSQL 16 too Numerous bug fix and improvements Jan 19, 2025
This variable is unused on pg13 and below, which leads to spurious warnings.

Since that variable is only used once and since the saved value is never
overwritten, simply use the target value.
This version is now EOF, and one of the test is checking incremental sorts,
which are only supported on pg13 and above.
@rjuju rjuju merged commit 58f0212 into master Jan 31, 2025
4 checks passed
@rjuju rjuju deleted the ci branch January 31, 2025 23:37
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.

2 participants