lp:~marcoceppi/charms/precise/postgresql/CIDR-fail
- Get this branch:
- bzr branch lp:~marcoceppi/charms/precise/postgresql/CIDR-fail
Branch merges
- Clint Byrum (community): Approve
-
Diff: 15 lines (+2/-2)1 file modifiedtemplates/pg_hba.conf.tmpl (+2/-2)
Related bugs
Bug #1117542: Postgres server fails because of hostname + CIDR | Undecided | Fix Released |
Related blueprints
Branch information
- Owner:
- Marco Ceppi
- Status:
- Development
Recent revisions
- 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 wellSpecifically, 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
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp:charms/postgresql