interface layer doesnt support roles and extensions

Bug #1627100 reported by Darren Hoyland
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
pgsql Interface for charms.reactive
Fix Released
Undecided
Unassigned

Bug Description

The pgsql interface does not currently support roles or extensions.

The postgresql-charm suggests that it should though: https://git.launchpad.net/~stub/postgresql-charm/tree/README.md#n147

This has led to someone using set_remote in our charm like this:

    pgsql.set_remote('extensions', 'tablefunc')
    pgsql.set_remote('roles', 'thing')

which initially worked just fine, but when a second relation was added, it led to the problem discussed here: http://askubuntu.com/questions/828732/can-anyone-explain-scopes-in-reactive-charms-to-me-please-juju-2-0

Could we please get roles and extensions implemented so that we can use them to pass this information, as it is currently a blocker for us.

description: updated
Changed in interface-pgsql:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.