-
Notifications
You must be signed in to change notification settings - Fork 43
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 PGXS "make installcheck" support #28
base: main
Are you sure you want to change the base?
Conversation
This enables running PG's standard testsuite with a PG server configured for decoderbufs. Example on Debian: ``` $ sudo apt install postgresql-14-decoderbufs $ pg_virtualenv -o shared_preload_libraries=decoderbufs -o wal_level=logical Creating new PostgreSQL cluster 14/regress ... $ make installcheck /usr/lib/postgresql/14/lib/pgxs/src/makefiles/../../src/test/regress/pg_regress --inputdir=./ --bindir='/usr/lib/postgresql/14/bin' --dbname=contrib_regression decoderbufs (using postmaster on localhost, port 5433) ============== dropping database "contrib_regression" ============== HINWEIS: Datenbank »contrib_regression« existiert nicht, wird übersprungen DROP DATABASE ============== creating database "contrib_regression" ============== CREATE DATABASE ALTER DATABASE ============== running regression test queries ============== test decoderbufs ... ok 30 ms ===================== All 1 tests passed. ===================== $ exit Dropping cluster 14/regress ... ```
Is anyone listening here? PG 17 will be released on Thursday, and decoderbufs isn't ready yet:
|
Paging @jpechane :) Most attention is on pgoutput these days, though, and it's the recommended decoding plug-in when available. |
Is that the pgoutput.so shipped with contrib? That's available on every Debian install. If that is strictly better, we could also drop the Debian package of decoderbufs and go with pgoutput instead. |
@df7cb Hi, we definitely want to keep protobuf for some time. We'll make |
@df7cb Please see https://issues.redhat.com/browse/DBZ-8275 |
3.0.1 doesn't compile here against PG17:
Also, could you perhaps enable GitHub issues on this repository? It's the only one I know that has only pull requests enabled, but not issues. |
@df7cb We do use Jira exclusively. It would be a bit of complications for us to track issue accross mutliple issue trackers. |
@df7cb Hi, I am sorry I am necormancing this PR. I'd like to get it in but if possible also add a github workflow that would run on each PR and push to main. The workflow would build the plguin and run the installcheck on it. Would it be possible? |
There's various extensions doing that, for example https://github.com/df7cb/postgresql-unit/blob/master/.github/workflows/regression.yml |
This enables running PG's standard testsuite with a PG server configured
for decoderbufs.
Example on Debian:
Tested on apt.postgresql.org with PG 10+ on amd64/arm64/i386/ppc64el.
https://pgdgbuild.dus.dg-i.net/view/Testsuite/job/postgres-decoderbufs-autopkgtest/