diff options
author | Noah Misch <noah@leadboat.com> | 2015-10-20 00:37:22 -0400 |
---|---|---|
committer | Noah Misch <noah@leadboat.com> | 2015-10-20 00:37:38 -0400 |
commit | 563f40bb4e465e69c0a2641ce5880a679e69538b (patch) | |
tree | fe80369c44874d4ffa08f719d88be96fa718ec5c /src/backend/utils/adt/json.c | |
parent | 52f21c5882ebad18d4cfcd67d99d31b90397ce29 (diff) | |
download | postgresql-563f40bb4e465e69c0a2641ce5880a679e69538b.tar.gz postgresql-563f40bb4e465e69c0a2641ce5880a679e69538b.zip |
Eschew "RESET statement_timeout" in tests.
Instead, use transaction abort. Given an unlucky bout of latency, the
timeout would cancel the RESET itself. Buildfarm members gharial,
lapwing, mereswine, shearwater, and sungazer witness that. Back-patch
to 9.1 (all supported versions). The query_canceled test still could
timeout before entering its subtransaction; for whatever reason, that
has yet to happen on the buildfarm.
Diffstat (limited to 'src/backend/utils/adt/json.c')
0 files changed, 0 insertions, 0 deletions