VillageSQL Server 0.0.5 is now available (and marked as the stable release for installs). This release is focused on the extension lifecycle: upgrading an extension in place, pinning the exact version you install, and seeing what's running. The extension framework also adds variable-length custom types and statement-event hooks. VillageSQL Server 0.0.5 tracks Oracle MySQL 8.4.10 and includes all upstream fixes from that branch.
Upgrading extensions
One of the most critical pieces of managing an extension is being
able to upgrade it. ALTER EXTENSION introduces the
syntax for upgrade, and with it the safety checks that run before
an upgrade is allowed to touch your data.
ALTER EXTENSION my_ext VERSION '2.0.0' AT RESTART;
Asking for the version you already have is a no-op with a note. Asking for a different version triggers a set of pre-checks against the target package: it refuses an …
[Read more]