mirror of https://github.com/jackc/pgx.git
Valid YAML helps.
parent
71a61cd2c5
commit
1b8606a458
|
@ -21,9 +21,9 @@ before_install:
|
|||
- echo "hostssl all pgx_ssl 127.0.0.1/32 md5" >> /etc/postgresql/$PGVERSION/main/pg_hba.conf
|
||||
- echo "host replication pgx_replication 127.0.0.1/32 md5" >> /etc/postgresql/$PGVERSION/main/pg_hba.conf
|
||||
- sudo chmod 777 /etc/postgresql/$PGVERSION/main/postgresql.conf
|
||||
- [[ $PGVERSION > 9.3 ]] && echo "wal_level='logical'" >> /etc/postgresql/$PGVERSION/main/postgresql.conf
|
||||
- [[ $PGVERSION > 9.3 ]] && echo "max_wal_senders=5" >> /etc/postgresql/$PGVERSION/main/postgresql.conf
|
||||
- [[ $PGVERSION > 9.3 ]] && echo "max_replication_slots=5" >> /etc/postgresql/$PGVERSION/main/postgresql.conf
|
||||
- "[[ $PGVERSION > 9.3 ]] && echo \"wal_level='logical'\" >> /etc/postgresql/$PGVERSION/main/postgresql.conf"
|
||||
- "[[ $PGVERSION > 9.3 ]] && echo \"max_wal_senders=5\" >> /etc/postgresql/$PGVERSION/main/postgresql.conf"
|
||||
- "[[ $PGVERSION > 9.3 ]] && echo \"max_replication_slots=5\" >> /etc/postgresql/$PGVERSION/main/postgresql.conf"
|
||||
- sudo /etc/init.d/postgresql restart
|
||||
|
||||
env:
|
||||
|
|
Loading…
Reference in New Issue