|
|
@ -22,6 +22,7 @@ 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," \ |
|
|
|
-e "s,^#backslash_quote\ =\ safe_encoding,backslash_quote\ =\ on," \ |
|
|
|
-e "s,^#enable_nestloop\ =\ on,enable_nestloop\ =\ off," \ |
|
|
|
-e "s,^#add_missing_from\ =\ off,add_missing_from\ =\ on," /var/opt/postgresql/data/postgresql.conf |
|
|
|
|
|
|
|
sed -i -e "s,postmaster -i,postmaster -i -o -e," /etc/opt/postgresql/run |
|
|
|