Add an "events" system to libpq, whereby applications can get callbacks that
Tom Lane <tgl@sss.pgh.pa.us>
Add an "events" system to libpq, whereby applications can get callbacks that enable them to manage private data associated with PGconns and PGresults. Andrew Chernow and Merlin Moncure
Files
| Path | Change | +/− |
|---|---|---|
| doc/src/sgml/libpq.sgml | modified | +711 −34 |
| src/interfaces/libpq/exports.txt | modified | +11 −2 |
| src/interfaces/libpq/fe-connect.c | modified | +70 −4 |
| src/interfaces/libpq/fe-exec.c | modified | +352 −7 |
| src/interfaces/libpq/libpq-events.c | added | +176 −0 |
| src/interfaces/libpq/libpq-events.h | added | +91 −0 |
| src/interfaces/libpq/libpq-fe.h | modified | +29 −7 |
| src/interfaces/libpq/libpq-int.h | modified | +17 −14 |
| src/interfaces/libpq/Makefile | modified | +8 −2 |
| src/tools/msvc/Install.pm | modified | +4 −2 |