Improve the recently-added libpq events code to provide more consistent
Tom Lane <tgl@sss.pgh.pa.us>
Improve the recently-added libpq events code to provide more consistent guarantees about whether event procedures will receive DESTROY events. They no longer need to defend themselves against getting a DESTROY without a successful prior CREATE. Andrew Chernow
Files
| Path | Change | +/− |
|---|---|---|
| doc/src/sgml/libpq.sgml | modified | +19 −6 |
| src/interfaces/libpq/fe-exec.c | modified | +30 −23 |
| src/interfaces/libpq/libpq-events.c | modified | +2 −1 |
| src/interfaces/libpq/libpq-int.h | modified | +2 −1 |