Hi Leandro Silva - KMM
It looks like you're trying to install pg_partman v5.2.4 for your PostgreSQL database, and you need guidance on specifying that version since the documentation doesn't cover that.
Here's what you can do:
- Check Version Availability: First, confirm that the version you want (5.2.4) is available for your PostgreSQL version. Based on the documentation, pg_partman v5.2.4 is not listed in the Azure PostgreSQL flexible server documentation, as they typically provide a limited set of versions.
- Installing the Extension: If you have confirmed that your PostgreSQL version supports pg_partman v5.2.4, you would typically create the extension using:
However, to specify a version, you would need to have access to the specific binaries for that release, which might not be available on Azure directly.CREATE EXTENSION pg_partman;
- Manually Installing from Source: If the version isn't available directly, you might need to download the source code from the official pg_partman GitHub, then build it and install it manually on a self-managed PostgreSQL instance.
- Using a Different Environment: If Azure doesn't provide the version you need, consider hosting your PostgreSQL on a VM or using another cloud provider where you have more control over the installation of such extensions.
- Check Compatibility: Since you mentioned that v5.2.4 supports UUIDv7, double-check the compatibility of the rest of your setup (like the PostgreSQL version) with that feature.
I hope this gives you a good starting point! If you have any further questions or need more details, feel free to ask.
Please refer the below document for more information https://github.com/pgpartman/pg_partman/blob/development/doc/pg_partman.md
https://github.com/pgpartman/pg_partman/releases