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 membership for existing objects #63

Merged
merged 3 commits into from
Aug 17, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "pgmq"
version = "0.13.0"
version = "0.13.1"
edition = "2021"
authors = ["Tembo.io"]
description = "Postgres extension for PGMQ"
Expand Down
2 changes: 1 addition & 1 deletion core/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "pgmq"
version = "0.15.1"
version = "0.15.2"
edition = "2021"
authors = ["Tembo.io"]
description = "A distributed message queue for Rust applications, on Postgres."
Expand Down
Empty file added sql/pgmq--0.10.2--0.11.1.sql
Empty file.
Empty file added sql/pgmq--0.11.2--0.12.0.sql
Empty file.
Empty file added sql/pgmq--0.12.0--0.12.1.sql
Empty file.
Empty file added sql/pgmq--0.12.1--0.13.0.sql
Empty file.
11 changes: 11 additions & 0 deletions sql/pgmq--0.13.0--0.13.1.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
DO $$
DECLARE
table_name TEXT;
BEGIN
FOR table_name IN (SELECT queue_name FROM public.pgmq_meta)
LOOP
EXECUTE format('ALTER EXTENSION pgmq ADD TABLE %I', 'pgmq_' || table_name);
EXECUTE format('ALTER EXTENSION pgmq ADD TABLE %I', 'pgmq_' || table_name || '_archive');
END LOOP;
EXECUTE format('ALTER EXTENSION pgmq ADD TABLE %I', 'pgmq_meta');
END $$;
Empty file added sql/pgmq--0.8.1--0.9.0.sql
Empty file.
Empty file added sql/pgmq--0.9.0--0.10.2.sql
Empty file.
Loading