]> git.pld-linux.org Git - packages/postgresql.git/commitdiff
- added encoding selection support
authoraflinta <aflinta@pld-linux.org>
Sat, 27 Apr 2002 13:54:39 +0000 (13:54 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    postgresql.init -> 1.34

postgresql.init

index b306e9c65db2714dc50976b12756c0ab588fa171..bdfdbb9e3b66e992ce3ab7eeeda137078fef7c9c 100644 (file)
@@ -25,6 +25,7 @@ else
        ALLOW_USE_SSL=no
        POSTGRES_DATA_DIR=/var/lib/pgsql
        POSTGRES_LOG=/var/log/pgsql
+       ENCODING=UNICODE
 fi
 
 # Check that networking is up.
@@ -88,7 +89,7 @@ case "$1" in
                    fi
                    TMPDIR=/tmp su postgres -c "LD_LIBRARY_PATH=/usr/lib \
                        initdb --pgdata=$POSTGRES_DATA_DIR \
-                       -L /usr/share/postgresql"
+                       -L /usr/share/postgresql -E $ENCODING"
                fi
                
                msg_starting PostgreSQL 
This page took 0.065329 seconds and 4 git commands to generate.