Skip to content

Releases: supabase/postgres

17.6.1.020

09 Oct 20:44
bbfc14b
Compare
Choose a tag to compare
fix(pgmq): replace drop_queue function if exists (#1828)

* fix(pgmq): replace drop_queue function if exists

We introduced a patch to override pgmq.drop_queue(TEXT) to conditionally
drop objects only if they are part of the extension in `ansible/ansible/files/postgresql_extension_custom_scripts/pgmq/after-create.sql`
. This script might have been installed on installations with existing 1.4.4 extensions.

When the user tries to upgrade pgmq from 1.4.4 to 1.5.1, the upgrade
process will fail because the upgrade script doesn't expect
`pgmq.drop_queue(TEXT)` to exist.

This change introduce the a patch to the pgmq extension to use
`CREATE OR REPLACE FUNCTION` instead of `CREATE FUNCTION` for
`pgmq.drop_queue(TEXT)` in the upgrade script from 1.4.5 to 1.5.0.

* feat: test that the pgmq extension works well with the after create script

We create a new custom nixos test for the pgmq extension to test that the extension works
well with the after-create.sql script present in
`ansible/files/postgresql_extension_custom_scripts/pgmq/after-create.sql`.

* chore: bump versions to release post-rebase

---------

Co-authored-by: Sam Rose <samuel@supabase.io>

17.6.1.019

09 Oct 18:47
e67b478
Compare
Choose a tag to compare
feat: support multiple versions of the pg_jsonschema extension (#1757)

* feat: multiple versions for the pg_jsonschema extension

Build multiple versions of the pg_jsonschema extension to on different PostgreSQL versions.
Add test for the extensions and their upgrade on PostgreSQL 15 and 17.

* fix: centralize bindgen hook override for pgrx extensions

Move the bindgen hook fix for ARM NEON vector ABI issues from
pg_graphql to mkPgrxExtension, making it available to all pgrx-based
extensions. This fix applies to pgrx versions 0.6.1 through 0.11.2
when building on aarch64-linux.

* fix: missing dependency on macOS for pg_jsonschema

* chore: bump to release

---------

Co-authored-by: Sam Rose <samuel@supabase.io>

17.6.1.018-fix-pgmq

09 Oct 14:07
Compare
Choose a tag to compare
chore: bump image releases for testing

17.6.1.018

09 Oct 10:32
cdb8609
Compare
Choose a tag to compare
feat: bump auth to v2.180.0 (#1829)

17.5.1.041-orioledb

09 Oct 20:43
bbfc14b
Compare
Choose a tag to compare
fix(pgmq): replace drop_queue function if exists (#1828)

* fix(pgmq): replace drop_queue function if exists

We introduced a patch to override pgmq.drop_queue(TEXT) to conditionally
drop objects only if they are part of the extension in `ansible/ansible/files/postgresql_extension_custom_scripts/pgmq/after-create.sql`
. This script might have been installed on installations with existing 1.4.4 extensions.

When the user tries to upgrade pgmq from 1.4.4 to 1.5.1, the upgrade
process will fail because the upgrade script doesn't expect
`pgmq.drop_queue(TEXT)` to exist.

This change introduce the a patch to the pgmq extension to use
`CREATE OR REPLACE FUNCTION` instead of `CREATE FUNCTION` for
`pgmq.drop_queue(TEXT)` in the upgrade script from 1.4.5 to 1.5.0.

* feat: test that the pgmq extension works well with the after create script

We create a new custom nixos test for the pgmq extension to test that the extension works
well with the after-create.sql script present in
`ansible/files/postgresql_extension_custom_scripts/pgmq/after-create.sql`.

* chore: bump versions to release post-rebase

---------

Co-authored-by: Sam Rose <samuel@supabase.io>

17.5.1.040-orioledb

09 Oct 18:48
e67b478
Compare
Choose a tag to compare
feat: support multiple versions of the pg_jsonschema extension (#1757)

* feat: multiple versions for the pg_jsonschema extension

Build multiple versions of the pg_jsonschema extension to on different PostgreSQL versions.
Add test for the extensions and their upgrade on PostgreSQL 15 and 17.

* fix: centralize bindgen hook override for pgrx extensions

Move the bindgen hook fix for ARM NEON vector ABI issues from
pg_graphql to mkPgrxExtension, making it available to all pgrx-based
extensions. This fix applies to pgrx versions 0.6.1 through 0.11.2
when building on aarch64-linux.

* fix: missing dependency on macOS for pg_jsonschema

* chore: bump to release

---------

Co-authored-by: Sam Rose <samuel@supabase.io>

17.5.1.039-orioledb-fix-pgmq

09 Oct 13:59
Compare
Choose a tag to compare
chore: bump image releases for testing

17.5.1.039-orioledb

09 Oct 10:32
cdb8609
Compare
Choose a tag to compare
feat: bump auth to v2.180.0 (#1829)

15.14.1.020

09 Oct 20:46
bbfc14b
Compare
Choose a tag to compare
fix(pgmq): replace drop_queue function if exists (#1828)

* fix(pgmq): replace drop_queue function if exists

We introduced a patch to override pgmq.drop_queue(TEXT) to conditionally
drop objects only if they are part of the extension in `ansible/ansible/files/postgresql_extension_custom_scripts/pgmq/after-create.sql`
. This script might have been installed on installations with existing 1.4.4 extensions.

When the user tries to upgrade pgmq from 1.4.4 to 1.5.1, the upgrade
process will fail because the upgrade script doesn't expect
`pgmq.drop_queue(TEXT)` to exist.

This change introduce the a patch to the pgmq extension to use
`CREATE OR REPLACE FUNCTION` instead of `CREATE FUNCTION` for
`pgmq.drop_queue(TEXT)` in the upgrade script from 1.4.5 to 1.5.0.

* feat: test that the pgmq extension works well with the after create script

We create a new custom nixos test for the pgmq extension to test that the extension works
well with the after-create.sql script present in
`ansible/files/postgresql_extension_custom_scripts/pgmq/after-create.sql`.

* chore: bump versions to release post-rebase

---------

Co-authored-by: Sam Rose <samuel@supabase.io>

15.14.1.019

09 Oct 18:49
e67b478
Compare
Choose a tag to compare
feat: support multiple versions of the pg_jsonschema extension (#1757)

* feat: multiple versions for the pg_jsonschema extension

Build multiple versions of the pg_jsonschema extension to on different PostgreSQL versions.
Add test for the extensions and their upgrade on PostgreSQL 15 and 17.

* fix: centralize bindgen hook override for pgrx extensions

Move the bindgen hook fix for ARM NEON vector ABI issues from
pg_graphql to mkPgrxExtension, making it available to all pgrx-based
extensions. This fix applies to pgrx versions 0.6.1 through 0.11.2
when building on aarch64-linux.

* fix: missing dependency on macOS for pg_jsonschema

* chore: bump to release

---------

Co-authored-by: Sam Rose <samuel@supabase.io>