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

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: 785206a) | patch
Improve test coverage for LISTEN/NOTIFY.
2019年11月23日 22:30:00 +0000 (17:30 -0500)
2019年11月23日 22:30:00 +0000 (17:30 -0500)
commit 295054411ebbff7ecfcc801ddfbdbadc1bac9f72
Improve test coverage for LISTEN/NOTIFY.

Back-patch commit b10f40bf0 into older branches. This adds reporting
of NOTIFY messages to isolationtester.c, and extends the async-notify
test to include direct tests of basic NOTIFY functionality.

This provides useful infrastructure for testing a bug fix I'm about
to back-patch, and there seems no good reason not to have better tests
of LISTEN/NOTIFY in the back branches. The commit's survived long
enough in HEAD to make it unlikely that it will cause problems.

Back-patch as far as 9.6. isolationtester.c changed too much in 9.6
to make it sane to try to fix older branches this way, and I don't
really want to back-patch those changes too.

Discussion: https://postgr.es/m/31304.1564246011@sss.pgh.pa.us
src/test/isolation/expected/async-notify.out diff | blob | blame | history
src/test/isolation/isolationtester.c diff | blob | blame | history
src/test/isolation/specs/async-notify.spec diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

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