GitHub user Jashchahal opened a pull request: https://github.com/apache/incubator-eagle/pull/182
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. Had to revert changes for EAGLE-270, as @haoch mentioned that we can't compare between mediumtexts, it need to be varchar. 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/182.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 #182 ---- commit 002088db65194e6cafc2b637d7aaef89708f4225 Author: Jaspaul <jashcha...@gmail.com> Date: 2016-04-06T00:32:26Z EAGLE-213 Updates fail for MySql There was a check based on the exception message, which was not correct for MySql. Changed it to more generic, comparing with "duplicate", it will handle more broader range now. commit 085d6b31075f4c9c2a00a071995b65e6ff67ee52 Author: Jaspaul <jashcha...@gmail.com> Date: 2016-04-18T17:36:43Z Merge remote-tracking branch 'upstream/master' commit 9c9c1ae156b9cf0aedf6e59730d1635b7e1b0b6b Author: Jaspaul <jashcha...@gmail.com> Date: 2016-04-18T17:56:55Z [EAGLE-270] JDBC: Create table fail for some of the tables commit c2574fe40d0ff6c9d81febc3acde87b757b17953 Author: yonzhang <yonzhang2...@gmail.com> Date: 2016-05-02T23:26:51Z Author: Huizhi Lu Reviewer: Yong Zhang commit f90a0a49a6cb4b9c2d10881c5fe2cd80c3b9d72e Author: yonzhang <yonzhang2...@gmail.com> Date: 2016-05-03T17:18:34Z EAGLE-289 fix alert email format email contains unresolvable variable https://issues.apache.org/jira/browse/EAGLE-289 Author: Lu Huizhi Review: Zhang Yong Closes 172 commit 3ed5a8dfc68e353b39b05c9a67fa19e56cc3a9e4 Author: Jaspaul <jashcha...@gmail.com> Date: 2016-05-03T21:20:25Z Merge remote-tracking branch 'upstream/master' commit 85529dfd7023ba7632123baa13314713605ab480 Author: Jaspaul <jashcha...@gmail.com> Date: 2016-05-03T21:43:04Z EAGLE-291 : JDBC: Update transactions fail in PostgreSQL commit 0e77d487356ca87bd35aa28156c5dc1c05f4ba30 Author: Jaspaul <jashcha...@gmail.com> Date: 2016-05-11T17:28:09Z Merge pull request #1 from apache/dev Dev ---- --- 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 infrastruct...@apache.org or file a JIRA ticket with INFRA. ---