Skip to content

Commit

Permalink
database: Fix to a locking issue with PostgreSQL
Browse files Browse the repository at this point in the history
It appears that preparing an INSERT statement on PostgreSQL actually makes it expecting to receive INSERTs and thus, it create some kind of locks for it. If instead, you only send him DELETE statements, it will indefinitely wait for an INSERT and hung.
  • Loading branch information
Quentin-M committed Nov 18, 2015
1 parent 8aacc8b commit 915903c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 9 deletions.
2 changes: 1 addition & 1 deletion Godeps/Godeps.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 2 additions & 8 deletions vendor/github.com/google/cayley/graph/sql/quadstore.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 915903c

Please sign in to comment.