# HG changeset patch # User Tom Gottfried # Date 1478718060 -3600 # Node ID 74e5b963006400c199be5a83bdfcd7028adc3ad2 # Parent eefd0ca9e42f7e02e6230c579672743e2a93d3c2 Log parameters in statements. This will allow later on to fetch parameters that changed and show them to the client. diff -r eefd0ca9e42f -r 74e5b9630064 db_schema/setup-db.sh --- a/db_schema/setup-db.sh Wed Nov 09 17:33:16 2016 +0100 +++ b/db_schema/setup-db.sh Wed Nov 09 20:01:00 2016 +0100 @@ -85,6 +85,7 @@ echo configure audit trail psql $DB_CONNECT_STRING -d $DB_NAME --command \ "ALTER DATABASE $DB_NAME SET pgaudit.role TO '$AUDITOR_ROLE'; + ALTER DATABASE $DB_NAME SET pgaudit.log_parameter TO on; GRANT UPDATE, DELETE ON land.probe, land.kommentar_p,