Skip to content

Latest commit

 

History

History
34 lines (28 loc) · 1.5 KB

HISTORY.asc

File metadata and controls

34 lines (28 loc) · 1.5 KB

STABLE

0.5.0

Distribution 0.5.0 ships test_factory 0.5.0 and test_factory_pgtap 0.1.0.

Note
There is no ALTER EXTENSION update path to 0.5.0. That covers both test_factory 0.3.1 (from distribution 0.4.2) and unreleased 0.5.0 installs taken from git; drop and recreate the extension instead.

Install without a superuser (superuser = false)

Both extensions can now be installed by a role with CREATEROLE and CREATE on the target database, e.g. RDS/Aurora’s master user, instead of requiring a real superuser.

Fix CREATE EXTENSION test_factory on PG16+ for non-superusers

On PG16+ a non-superuser install failed with must be able to SET ROLE "test_factory__owner": CREATE ROLE doesn’t give its creator SET-enabled membership in the new role. Install now grants it when missing, and raises a clear error with a suggested GRANT when the installer can’t grant it itself. Fixes #14.

Fix install failures caused by the original_role temp table

Both install scripts saved the caller’s role in an ON COMMIT DROP temp table, which became extension-owned and broke CREATE EXTENSION test_factory_pgtap on PG17 (#12) and inside an explicit transaction (#13). They now use a transaction-local setting instead. `test_factory_pgtap’s 0.1.0 install script was fixed in place: the objects it creates are unchanged, so its version stays 0.1.0.

Point META resources at the current repository

Homepage, bug tracker and repository links now point at https://github.com/Postgres-Extensions/test_factory.