[Travis] Load schema_triggers.so as shared, not local preload

Doing so should load the library from where is installed by
pg_schema_trigger package
This commit is contained in:
Sandro Santilli 2014-05-08 12:44:24 +02:00
parent 7b7891b390
commit fac0fc81de

View File

@ -12,7 +12,7 @@ before_install:
cd pg_schema_triggers && make && sudo make install && cd -
# Preload schema_triggers module
# NOTE: might change if we make it part of the installcheck instead
- echo "local_preload_libraries = 'schema_triggers.so'" |
- echo "shared_preload_libraries = 'schema_triggers.so'" |
sudo tee -a /etc/postgresql/9.3/main/postgresql.conf &&
sudo service postgresql restart