git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: 9a0a12f) | patch
Add skip-empty-xacts option to test_decoding for use in the regression tests.
Mon, 1 Sep 2014 11:42:43 +0000 (13:42 +0200)
Mon, 1 Sep 2014 13:59:44 +0000 (15:59 +0200)
commit d6fa44fce7c27459e2d7a46cca18779b765c8b15
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
15 files changed:
contrib/test_decoding/expected/concurrent_ddl_dml.out diff | blob | blame | history
contrib/test_decoding/expected/ddl.out diff | blob | blame | history
contrib/test_decoding/expected/decoding_in_xact.out diff | blob | blame | history
contrib/test_decoding/expected/permissions.out diff | blob | blame | history
contrib/test_decoding/expected/prepared.out diff | blob | blame | history
contrib/test_decoding/expected/rewrite.out diff | blob | blame | history
contrib/test_decoding/expected/toast.out diff | blob | blame | history
contrib/test_decoding/specs/concurrent_ddl_dml.spec diff | blob | blame | history
contrib/test_decoding/sql/ddl.sql diff | blob | blame | history
contrib/test_decoding/sql/decoding_in_xact.sql diff | blob | blame | history
contrib/test_decoding/sql/permissions.sql diff | blob | blame | history
contrib/test_decoding/sql/prepared.sql diff | blob | blame | history
contrib/test_decoding/sql/rewrite.sql diff | blob | blame | history
contrib/test_decoding/sql/toast.sql diff | blob | blame | history
contrib/test_decoding/test_decoding.c diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /