Merge lp:~dsowen/charms/precise/postgresql/reload into lp:charms/postgresql
Proposed by
David Owen
on 2012-06-20
| Status: | Merged |
|---|---|
| Merged at revision: | 24 |
| Proposed branch: | lp:~dsowen/charms/precise/postgresql/reload |
| Merge into: | lp:charms/postgresql |
| Diff against target: |
19 lines (+3/-4) 2 files modified
hooks/db-relation-changed (+2/-3) revision (+1/-1) |
| To merge this branch: | bzr merge lp:~dsowen/charms/precise/postgresql/reload |
| Related bugs: |
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| charmers | 2012-06-20 | Pending | |
|
Review via email:
|
|||
Description of the Change
Postgres is already running during the change hook (it has to be; the joined hook uses a running postgres, and I don't see that any relation hooks take the server down).
As we're only changing pg_hba.conf, only a reload, not a restart, is necessary. This keeps the server up and accepting TCP connections, guaranteeing the the other side of the relation can connect immediately without busy-waiting.
To post a comment you must log in.
| Clint Byrum (clint-fewbar) wrote : | # |

Great work thanks!