diff options
| author | Thomas Dippel | 2012-08-13 13:37:27 +0200 |
|---|---|---|
| committer | Adam Vandenberg | 2012-08-22 09:31:46 -0700 |
| commit | c40c7bf0d733ab67099d79139aae8329d2820ed0 (patch) | |
| tree | 78db497541ab1cb31fc8a2f8cc3a0785a47d0c51 /Library/Formula/postgresql.rb | |
| parent | b58fde5e5a1626d55cdace82ea589a9c1d8ac960 (diff) | |
| download | homebrew-c40c7bf0d733ab67099d79139aae8329d2820ed0.tar.bz2 | |
postgresql: explicitly initialize with utf8 encoding
If we d not explicitly specify utf8 as the encoding, the server will be
initialized with ASCII encoding for the template1 database, which causes
problems when trying to create new databases with UTF8 encoding.
Closes #14149.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Formula/postgresql.rb')
| -rw-r--r-- | Library/Formula/postgresql.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Formula/postgresql.rb b/Library/Formula/postgresql.rb index 343c43ba1..34eebefa2 100644 --- a/Library/Formula/postgresql.rb +++ b/Library/Formula/postgresql.rb @@ -110,7 +110,7 @@ See: # Create/Upgrade a Database If this is your first install, create a database with: - initdb #{var}/postgres + initdb #{var}/postgres -E utf8 To migrate existing data from a previous major version (pre-9.1) of PostgreSQL, see: http://www.postgresql.org/docs/9.1/static/upgrading.html |
