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:55 -0400 |
commit | 91d62b14f2a62559338c1b763666fcd25c83c2af (patch) | |
tree | e82459482146d217c10d783e739da5750449c405 /src/backend/utils/adt/numeric.c | |
parent | 0ce829caf68a95592198d1b45971d11b0f856bb6 (diff) | |
download | postgresql-91d62b14f2a62559338c1b763666fcd25c83c2af.tar.gz postgresql-91d62b14f2a62559338c1b763666fcd25c83c2af.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/numeric.c')
0 files changed, 0 insertions, 0 deletions