Code review comment for lp:~ahasenack/charms/precise/postgresql/use-postgres-instead-of-template1

Revision history for this message
Stuart Bishop (stub) wrote :

As discussed on IRC, the reason for this change is that createdb uses template1 by default as its template database. If there are connections to the template database, and they can hang around for a few moments on the server after being closed by the client, the createdb will fail.

The simplest solutions are to either not open connections to the template database, or use template0 as the createdb template database. This fix does the former.

review: Approve

« Back to merge proposal