interface-pgsql:master

Last commit made on 2023-03-17
Get this branch:
git clone -b master https://git.launchpad.net/interface-pgsql
Members of PostgreSQL Charm Maintainers can upload to this branch. Log in for directions.

Branch merges

Branch information

Name:
master
Repository:
lp:interface-pgsql

Recent commits

676b642... by Guillermo Gonzalez

Fix TestCsplit class name

f55d799... by Guillermo Gonzalez

fix split to cover multiple whitespaces

fe28bd4... by Guillermo Gonzalez

Support space-separated alongside the comma-seperated allowed-units format

70d2da5... by Colin Watson

Make commands_pre compatible with tox 3

ac3c26b... by Colin Watson

Fix unit tests following cross-model relation support

Commit 133726c646b31d63cf5c33e73322598ba1012b07 broke
`TestConnectionStringConstructor`, since `_cs` now works a bit
differently. Fix the tests to cope.

997402b... by Colin Watson

Document CHARM_DIR requirements for running tests

7c0be54... by Colin Watson

Fix unit readiness check for v2 protocol

Commit 133726c646b31d63cf5c33e73322598ba1012b07 broke the readiness
check in `ConnectionStrings._authorized` when using the v2 protocol
(used particularly by proxies), because `self[name]` is only populated
usefully for units using the v1 protocol. The previous code essentially
seemed to be checking the bottom half of the `_cs` function, so I split
that out into a new function and arranged to call it directly to avoid
them getting out of sync again.

The unit tests seem to have bitrotted and I couldn't figure out how to
get them to run, but I've tested this with direct relations to the
`postgresql` charm, and Guillermo Gonzalez has tested this using the
`external-services` charm which acts as a proxy.

c35ef4a... by Stuart Bishop

Ensure 'changed' flags are set in upgrade-charm

f8b6006... by Stuart Bishop

Do not repeatedly reset states after departing relation

Addresses lp:1798118

38c2d4b... by Stuart Bishop

ConnectionStrings.standbys should never return None