Browse Source

disabled nestloops on default instalations

master
Nagy Karoly Gabriel 16 years ago
parent
commit
2f3593b754
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      postgresql.postinstall

+ 1
- 0
postgresql.postinstall

@ -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

Loading…
Cancel
Save