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:22 -0400 |
commit | 8e3b4d9d40244c037bbc6e182ea3fabb9347d482 (patch) | |
tree | ac39ac8a395b23f3547da8c9c5e95d0c0d0ad847 /src/tutorial/complex.c | |
parent | 9f1e642d50b30ec5c9604b6095073012a9a73e93 (diff) | |
download | postgresql-8e3b4d9d40244c037bbc6e182ea3fabb9347d482.tar.gz postgresql-8e3b4d9d40244c037bbc6e182ea3fabb9347d482.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/tutorial/complex.c')
0 files changed, 0 insertions, 0 deletions