postgresql

Charmed PostgreSQL VM

Channel Revision Published Runs on
latest/stable 345 09 Nov 2023
Ubuntu 22.04 Ubuntu 20.04 Ubuntu 18.04 Ubuntu 16.04 Ubuntu 14.04
latest/stable 239 09 Feb 2022
Ubuntu 22.04 Ubuntu 20.04 Ubuntu 18.04 Ubuntu 16.04 Ubuntu 14.04
latest/stable 226 01 Apr 2021
Ubuntu 22.04 Ubuntu 20.04 Ubuntu 18.04 Ubuntu 16.04 Ubuntu 14.04
14/stable 553 04 Feb 2025
Ubuntu 22.04
14/stable 552 04 Feb 2025
Ubuntu 22.04
14/candidate 553 28 Jan 2025
Ubuntu 22.04
14/candidate 552 28 Jan 2025
Ubuntu 22.04
14/beta 553 28 Jan 2025
Ubuntu 22.04
14/beta 552 28 Jan 2025
Ubuntu 22.04
14/edge 567 Today
Ubuntu 22.04
14/edge 566 Today
Ubuntu 22.04
16/edge 527 27 Nov 2024
Ubuntu 24.04
16/edge 526 27 Nov 2024
Ubuntu 24.04
juju deploy postgresql --channel 14/stable
Show information

Platform:

Ubuntu
24.04 22.04 20.04 18.04 16.04 14.04

Juju

Juju is an open source orchestration engine for software operators that enables the deployment, integration and lifecycle management of applications at any scale, on any infrastructure using charms.

See also: Juju client documentation, Juju blog

Compatibility with PostgreSQL

Current stable releases of this charm can still be deployed on Juju 2.9. However, newer features are not supported.

See the Releases page for more information about the minimum Juju version required to operate the features of each revision.

Additionally, there are limitations regarding integrations with other charms. For example, integration with modern TLS charms requires Juju 3.x.

Breaking changes between Juju 2.9.x and 3.x

As this charm documentation is written for Juju 3.x, users of 2.9.x will encounter noteworthy changes when following the instructions. This section explains those changes.

Breaking changes have been introduced in the Juju client between versions 2.9.x and 3.x. These are caused by the renaming and re-purposing of several commands - functionality and command options remain unchanged.

In the context of this guide, the pertinent changes are as follows:

v2.9.x v3.x
add-relation integrate
relate integrate
run exec
run-action --wait run

See the Juju 3.0 release notes for the comprehensive list of changes.

Example substitutions:

Juju 3.x:

juju integrate postgresql:database postgresql-test-app

juju run postgresql/leader get-password 

Juju 2.9.x:

juju relate postgresql:database postgresql-test-app

juju run-action --wait postgresql/leader get-password

:tipping_hand_man: The document based on OpenStack guide.