diff options
author | Pavan Deolasee | 2016-07-07 11:26:20 +0000 |
---|---|---|
committer | Pavan Deolasee | 2016-10-18 10:05:31 +0000 |
commit | 7f2e5c5eca5399a69dd6127fa59d83dac5123fe6 (patch) | |
tree | 0b1d6c2b53dbfa249b3333c5e7325b5c63fcd51e /src/backend/utils/adt/json.c | |
parent | 332d10cecad98985eb3cca02772f8aeaad8a2177 (diff) |
Never ever use an invalid XID, if we fail to connect to the GTM
The code before this commit would happily proceed further if GTM becomes dead
or unreachable. This may result in random problems since rest of the code is
not prepared to deal with that situation (as seen from the crash in TAP tests).
It seems far safer to just throw an error in such case.
TAP test and report by Pallavi Sontakke
Diffstat (limited to 'src/backend/utils/adt/json.c')
0 files changed, 0 insertions, 0 deletions