diff --git a/lib/index.js b/lib/index.js index 754826b..f6b5aed 100644 --- a/lib/index.js +++ b/lib/index.js @@ -57,7 +57,7 @@ var monitor = { var q = e.query; var special, prepared; if (typeof(q) === 'string') { - var verbs = ['begin', 'commit', 'rollback', 'savepoint'] + var verbs = ['begin', 'commit', 'rollback', 'savepoint', 'release']; for (var i = 0; i < verbs.length; i++) { if (q.indexOf(verbs[i]) === 0) { special = true; diff --git a/package.json b/package.json index 1eb025f..153f5ee 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "pg-monitor", - "version": "0.3.3", + "version": "0.3.4", "description": "Event monitor for pg-promise.", "main": "lib/index.js", "homepage": "https://github.com/vitaly-t/pg-monitor",