Skip to content

Commit

Permalink
NXBT-417: Add postgresql pg_stat_statements info on job monitoring
Browse files Browse the repository at this point in the history
  • Loading branch information
bdelbosc committed Mar 29, 2012
1 parent 32826fb commit 4482bf0
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions integration-dblib.sh
Expand Up @@ -47,6 +47,11 @@ EOF
createdb $DBNAME -U $DBUSER -h $DBHOST -p $DBPORT || exit 1
createlang plpgsql $DBNAME -U $DBUSER -h $DBHOST -p $DBPORT

pg_stat=/usr/share/postgresql/8.4/contrib/pg_stat_statements.sql
if [ -f $pg_stat ]; then
psql $DBNAME -U $DBUSER -h $DBHOST -p $DBPORT -f $pg_stat
fi

NUXEO_CONF="$SERVER_HOME"/bin/nuxeo.conf
activate_db_template postgresql
set_key_value nuxeo.db.port $DBPORT
Expand Down

0 comments on commit 4482bf0

Please sign in to comment.