aboutsummaryrefslogtreecommitdiff
path: root/src/backend/utils/adt/json.c
diff options
context:
space:
mode:
authorNoah Misch <noah@leadboat.com>2015-10-20 00:37:22 -0400
committerNoah Misch <noah@leadboat.com>2015-10-20 00:37:29 -0400
commit01a96c77d638aad0d9d5b040ed62248481d3b5a0 (patch)
treec7c430367751026339bef8f1a68b703f13b88cd0 /src/backend/utils/adt/json.c
parent43e36f8dd065ee2d73d0b010488e624b7e509c3f (diff)
downloadpostgresql-01a96c77d638aad0d9d5b040ed62248481d3b5a0.tar.gz
postgresql-01a96c77d638aad0d9d5b040ed62248481d3b5a0.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