lp:~marcoceppi/charms/precise/postgresql/CIDR-fail

Created by Marco Ceppi and last modified
Get this branch:
bzr branch lp:~marcoceppi/charms/precise/postgresql/CIDR-fail
Only Marco Ceppi can upload to this branch. If you are Marco Ceppi please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
Marco Ceppi
Status:
Development

Recent revisions

30. By Marco Ceppi

Since we're working with explicit addresses don't appent /32

29. By Juan L. Negron

Merging Sidnei's bag of tricks. MP:143097

28. By Juan L. Negron

While putting together a charm with a postgresql relation, I ran into a situation that appears to have been anticipated by a TODO comment in the postgresql charm:

    # XXX: This appears to reset the password every time
    # this might not end well

Specifically, I found that the password was being reset (IIRC by the db-{,admin-}relation-changed hook) after I'd made use of it in my charm, and of course then everything went wrong.

There doesn't seem any particularly nice way to deal with this; I don't think we can rely on the password being cached in the relation, because multiple relations might make use of the same user. But given the existing password handling, it doesn't seem that bad to just cache it in a file readable only by root, and this fixed the problem for me. Of course I'm open to better suggestions. MP: 135128

27. By Juan L. Negron

I have a charm that needs the debversion type in PostgreSQL. As far as I can tell, there seems no harm in just trying to install this unconditionally. MP: 135130

26. By Juan L. Negron

The postgresql charm includes *-relation-departed hook symlinks, but hooks.py doesn't implement them and exits 1 when they're called. This has the effect that whenever a condition arises such that a *-relation-departed hook is called, the relation goes into an error state.

I don't know if *-relation-departed should be implemented (I had some trouble divining the exact difference between that and *-relation-broken) but it would be better for them to be absent than broken. MP:135132

25. By Juan L. Negron

Add storage options, and add config options for postgresql.conf - also add the capability to autotune based on system RAM/CPU if wanted. MP:132166 by mthaddon

24. By David Owen

Only reload for pg_hba updates

22. By Mark Mims

maintainer

21. By Thomas Herve

Fix pg_hba changes for postgres 9

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
Stacked on:
lp:charms/postgresql
This branch contains Public information 
Everyone can see this information.

Subscribers