Remove dllist.c from libpq. It's overkill for what libpq needs; we can
Tom Lane <tgl@sss.pgh.pa.us>
Remove dllist.c from libpq. It's overkill for what libpq needs; we can just stick a list-link into struct PGnotify instead. Result is a smaller faster and more robust library (mainly because we reduce the number of malloc's and free's involved in notify processing), plus less pollution of application link-symbol namespace.
Files
| Path | Change | +/− |
|---|---|---|
| src/include/Makefile | modified | +2 −3 |
| src/interfaces/libpq/bcc32.mak | modified | +0 −2 |
| src/interfaces/libpq/fe-connect.c | modified | +10 −4 |
| src/interfaces/libpq/fe-exec.c | modified | +9 −8 |
| src/interfaces/libpq/fe-protocol2.c | modified | +7 −2 |
| src/interfaces/libpq/fe-protocol3.c | modified | +7 −2 |
| src/interfaces/libpq/libpq-fe.h | modified | +3 −1 |
| src/interfaces/libpq/libpq-int.h | modified | +3 −4 |
| src/interfaces/libpq/Makefile | modified | +3 −6 |
| src/interfaces/libpq/win32.mak | modified | +0 −8 |