Attached is a patch to remove the definitions of libpq's internal
Bruce Momjian <bruce@momjian.us>
Attached is a patch to remove the definitions of libpq's internal structs from libpq-fe.h, as we previously discussed. There turned out to be sloppy coding practices in more places than I had realized :-(, but all in all I think it was a well-worth-while exercise. I ended up adding several routines to libpq's API in order to respond to application requirements that were exposed by this work. I owe the docs crew updates for libpq.sgml to describe these changes. I'm way too tired to work on the docs tonight, however. This is the last major change I intend to submit for 6.4. I do want to see if I can make libpgtcl work with Tcl 8.0 before we go final, but hopefully that will be a minor bug fix.
Files
| Path | Change | +/− |
|---|---|---|
| src/bin/pg_dump/pg_dump.c | modified | +3 −3 |
| src/bin/psql/psql.c | modified | +16 −19 |
| src/interfaces/ecpg/lib/ecpglib.c | modified | +3 −3 |
| src/interfaces/libpgtcl/pgtclCmds.c | modified | +33 −27 |
| src/interfaces/libpgtcl/pgtclId.c | modified | +32 −72 |
| src/interfaces/libpq/fe-connect.c | modified | +21 −5 |
| src/interfaces/libpq/fe-exec.c | modified | +137 −31 |
| src/interfaces/libpq/fe-misc.c | modified | +4 −5 |
| src/interfaces/libpq/libpqdll.def | modified | +52 −47 |
| src/interfaces/libpq/libpq-fe.h | modified | +64 −214 |
| src/interfaces/libpq/libpq-int.h | modified | +148 −1 |
| src/interfaces/perl5/Pg.xs | modified | +3 −3 |