Skip to content

Commit

Permalink
fixing savepoint support.
Browse files Browse the repository at this point in the history
  • Loading branch information
vitaly-t committed Oct 23, 2015
1 parent 4c18ddb commit fb6c7c6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down

0 comments on commit fb6c7c6

Please sign in to comment.