diff options
author | Andres Freund <andres@anarazel.de> | 2014-09-01 13:42:43 +0200 |
---|---|---|
committer | Andres Freund <andres@anarazel.de> | 2014-09-01 16:08:57 +0200 |
commit | cb3d2df90e240680438cb612edcd1598579f4d5c (patch) | |
tree | ad2d8f24bd3fe580cd0564c4a4f8f59b59a4748d /src/backend/utils/adt/numeric.c | |
parent | 92b2c136580869fe9286a4d880d592d74f55d5b7 (diff) | |
download | postgresql-cb3d2df90e240680438cb612edcd1598579f4d5c.tar.gz postgresql-cb3d2df90e240680438cb612edcd1598579f4d5c.zip |
Add skip-empty-xacts option to test_decoding for use in the regression tests.
The regression tests for contrib/test_decoding regularly failed on
postgres instances that were very slow. Either because the hardware
itself was slow or because very expensive debugging options like
CLOBBER_CACHE_ALWAYS were used.
The reason they failed was just that some additional transactions were
decoded. Analyze and vacuum, triggered by autovac.
To fix just add a option to test_decoding to only display transactions
in which a change was actually displayed. That's not pretty because it
removes information from the tests; but better than constantly failing
tests in very likely harmless ways.
Backpatch to 9.4 where logical decoding was introduced.
Discussion: 20140629142511.GA26930@awork2.anarazel.de
Diffstat (limited to 'src/backend/utils/adt/numeric.c')
0 files changed, 0 insertions, 0 deletions