Skip to content

Adds the pgmq extension to support queuing #1120

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

Merged
merged 17 commits into from
Oct 4, 2024
Merged

Adds the pgmq extension to support queuing #1120

merged 17 commits into from
Oct 4, 2024

Conversation

olirice
Copy link
Contributor

@olirice olirice commented Aug 14, 2024

Adds pgmq and its optional dependency pg_partman to support queues and partitioned queues

pg_partman is installed without the optional background worker. We will document using pg_cron to schedule calls run_maintenance_proc();. That is consistent with RDS's usage of pg_partman

@olirice olirice marked this pull request as ready for review August 19, 2024 14:50
@olirice olirice requested review from a team as code owners August 19, 2024 14:50
@olirice olirice marked this pull request as draft August 19, 2024 14:50
@samrose samrose self-requested a review August 19, 2024 18:22
@olirice olirice marked this pull request as ready for review September 10, 2024 15:50
@olirice olirice requested a review from a team as a code owner September 10, 2024 15:50
Copy link
Contributor

@sweatybridge sweatybridge left a comment

Choose a reason for hiding this comment

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

lgtm for adding new extensions

@olirice olirice marked this pull request as draft September 11, 2024 21:10
@ChuckHend
Copy link

@olirice - FYI, pgmq (for partitioned queue feature) depends on pg_partman < 5. It is in the backlog to add support for pg_partman 5 though.

@olirice
Copy link
Contributor Author

olirice commented Sep 12, 2024

thanks @ChuckHend, saved me an hour 🙌

@olirice olirice marked this pull request as ready for review September 18, 2024 21:06
@olirice olirice merged commit 263aa1e into develop Oct 4, 2024
7 of 8 checks passed
@olirice olirice deleted the or/ext-pgmq branch October 4, 2024 18:37
damonrand pushed a commit to cepro/postgres that referenced this pull request Jun 15, 2025
* add pgmq SQL only extension

* revert accidental file inclusion

* add public interface test coverage

* order by namespace for tables in interface test to make timescale stable since they use 3 schemas

* pgmq in prime

* update to pgmq 1.4.2

* regression tests for pgmq

* add pgmq migration test script

* add pg_partman

* remove pg_partman_bgq from test suite postgresql.conf

* checkin broken test

* checkin broken test 2

* bump pgmq to 1.4.4

* sync test outputs and pg_partman with 1.4.4

* add pgmq to supautils privileged extensions
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.

5 participants