|
|
@ -17,7 +17,7 @@ chown postgres:postgres /opt/postgresql |
|
|
|
chown postgres:postgres /var/opt/postgresql/data/ |
|
|
|
|
|
|
|
# create the initial cluster (WARNING!! this cluster will be SQL_ASCII) |
|
|
|
su -c "/opt/postgresql/bin/initdb -D /var/opt/postgresql/data" postgres |
|
|
|
su - postgres -c "/opt/postgresql/bin/initdb -D /var/opt/postgresql/data" |
|
|
|
|
|
|
|
# enable the X5 compatibility options |
|
|
|
sed -i -e "s,^#default_with_oids\ =\ off,default_with_oids\ =\ on," \ |
|
|
|