pg_on_connection_loss command for libpgtcl. Patch from
Tom Lane <tgl@sss.pgh.pa.us>
pg_on_connection_loss command for libpgtcl. Patch from Gerhard Hintermayer, revised and documented by Tom Lane. This patch also fixes a 'must fix' bug: libpgtcl's LISTEN/NOTIFY support was broken by the recent changes to the PGnotify structure. Guess that change wasn't quite so safe as we thought.
Files
| Path | Change | +/− |
|---|---|---|
| doc/src/sgml/libpgtcl.sgml | modified | +104 −1 |
| src/interfaces/libpgtcl/pgtcl.c | modified | +7 −2 |
| src/interfaces/libpgtcl/pgtclCmds.c | modified | +83 −1 |
| src/interfaces/libpgtcl/pgtclCmds.h | modified | +9 −2 |
| src/interfaces/libpgtcl/pgtclId.c | modified | +104 −27 |
| src/interfaces/libpgtcl/pgtclId.h | modified | +3 −2 |