GitHub user Jashchahal opened a pull request:
https://github.com/apache/incubator-eagle/pull/194
EAGLE-291 : JDBC: Update transactions fail in PostgreSQL
The transactions in Postgres was failing due to insert fail transaction
already in progress and we were trying to update if insert fails. Need to
rollback the failed insert transaction and then continue with update
transaction. Postgres is more strict as compared to MySql, so we need save
point so that we can roll it back, if required.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/Jashchahal/incubator-eagle dev
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/incubator-eagle/pull/194.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #194
----
commit 1b82257146fbc1f63ec3061f5cc009e7f3fa6a6b
Author: Jaspaul <[email protected]>
Date: 2016-05-20T22:29:31Z
EAGLE-291 : JDBC: Update transactions fail in PostgreSQL
commit c56c1b34bba10d6a72777ad09a058ca7b8b1ee01
Author: Jaspaul <[email protected]>
Date: 2016-05-20T22:33:11Z
Merge pull request #1 from Jashchahal/master
EAGLE-291 : JDBC: Update transactions fail in PostgreSQL
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---