use the same names like postgres uses internally
authorMichael Wallner <mike@php.net>
Wed, 13 May 2015 16:51:46 +0000 (18:51 +0200)
committerMichael Wallner <mike@php.net>
Wed, 13 May 2015 16:51:46 +0000 (18:51 +0200)
config/sql/createdb.sh

index 6fa15627289dca5efd1f56a24e1dea0749f8b78f..b0f0dbbf22a5e9982def660aa3e606eda9af3127 100755 (executable)
@@ -11,14 +11,14 @@ CREATE
        NOSUPERUSER
 ;
 
--- createdb pharext -O pharext -E utf8 -l en_US.utf8
+-- createdb pharext -O pharext -E UTF8 -l en_US.UTF-8
 CREATE 
        DATABASE        "pharext"
        OWNER           "pharext"
        TEMPLATE        "template0"
-       ENCODING        'utf8'
-       LC_CTYPE        'en_US.utf8'
-       LC_COLLATE      'en_US.utf8'
+       ENCODING        'UTF-8'
+       LC_CTYPE        'en_US.UTF-8'
+       LC_COLLATE      'en_US.UTF-8'
 ;
 
 \c pharext