Request host auth to use password
This is required for non superusers to use FDW's. See https://www.postgresql.org/docs/11/postgres-fdw.html#id-1.11.7.42.10
This commit is contained in:
parent
8cfc8e65cf
commit
1189d70b2a
@ -24,7 +24,7 @@ before_install:
|
|||||||
- sudo apt-get install -y --allow-unauthenticated postgresql-$POSTGRESQL_VERSION-postgis-$POSTGIS_VERSION postgresql-$POSTGRESQL_VERSION-postgis-$POSTGIS_VERSION-scripts postgis postgresql-plpython-$POSTGRESQL_VERSION
|
- sudo apt-get install -y --allow-unauthenticated postgresql-$POSTGRESQL_VERSION-postgis-$POSTGIS_VERSION postgresql-$POSTGRESQL_VERSION-postgis-$POSTGIS_VERSION-scripts postgis postgresql-plpython-$POSTGRESQL_VERSION
|
||||||
- sudo pg_dropcluster --stop $POSTGRESQL_VERSION main
|
- sudo pg_dropcluster --stop $POSTGRESQL_VERSION main
|
||||||
- sudo rm -rf /etc/postgresql/$POSTGRESQL_VERSION /var/lib/postgresql/$POSTGRESQL_VERSION
|
- sudo rm -rf /etc/postgresql/$POSTGRESQL_VERSION /var/lib/postgresql/$POSTGRESQL_VERSION
|
||||||
- sudo pg_createcluster -u postgres $POSTGRESQL_VERSION main -- -A trust
|
- sudo pg_createcluster -u postgres $POSTGRESQL_VERSION main -- --auth-local trust --auth-host password
|
||||||
- sudo /etc/init.d/postgresql start $POSTGRESQL_VERSION || sudo journalctl -xe
|
- sudo /etc/init.d/postgresql start $POSTGRESQL_VERSION || sudo journalctl -xe
|
||||||
- sudo pip install redis==2.4.9
|
- sudo pip install redis==2.4.9
|
||||||
script:
|
script:
|
||||||
|
Loading…
Reference in New Issue
Block a user