aboutsummaryrefslogtreecommitdiff
path: root/src/backend/jit/llvm/llvmjit_inline.cpp
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2019-07-28 12:02:27 -0400
committerTom Lane <tgl@sss.pgh.pa.us>2019-07-28 12:02:27 -0400
commitb10f40bf0e4516d7832db8ccbe5f76319ad08682 (patch)
treed8cdc0e91e1b7f2428b69f368806d1543bea606e /src/backend/jit/llvm/llvmjit_inline.cpp
parent44460d7017cde005d7a2e246db0b32375bfec15d (diff)
downloadpostgresql-b10f40bf0e4516d7832db8ccbe5f76319ad08682.tar.gz
postgresql-b10f40bf0e4516d7832db8ccbe5f76319ad08682.zip
Improve test coverage for LISTEN/NOTIFY.
We had no actual end-to-end test of NOTIFY message delivery. In the core async.sql regression test, testing this is problematic because psql traditionally prints the PID of the sending backend, making the output unstable. We also have an isolation test script, but it likewise failed to prove that delivery worked, because isolationtester.c had no provisions for detecting/reporting NOTIFY messages. Hence, add such provisions to isolationtester.c, and extend async-notify.spec to include direct tests of basic NOTIFY functionality. I also added tests showing that NOTIFY de-duplicates messages normally, but not across subtransaction boundaries. (That's the historical behavior since we introduced subtransactions, though perhaps we ought to change it.) Patch by me, with suggestions/review by Andres Freund. Discussion: https://postgr.es/m/31304.1564246011@sss.pgh.pa.us
Diffstat (limited to 'src/backend/jit/llvm/llvmjit_inline.cpp')
0 files changed, 0 insertions, 0 deletions