This patch covers several to-do items that I had for libpgtcl:
Bruce Momjian <bruce@momjian.us>
This patch covers several to-do items that I had for libpgtcl: * It works under both Tcl 7.6 and Tcl 8.0 now. (The code claims to work under Tcl 7.5 as well, but I have no way to test that --- if anyone still cares, please check it with 7.5.) * pg_listen suppresses extra LISTEN commands and correctly sends an UNLISTEN when the last listen request for a relation is cancelled. (Note this means it will not work with pre-6.4 backends, but that was true already because it depends on the current libpq, which only speaks protocol 2.0.) * Added -error option to pg_result so that there's some way to find out what you did wrong ;-) * Miscellaneous cleanups of code comments and overenthusiastic #includes. BTW, I bumped the package version number from 1.2 to 1.3. Is this premature? Does someone run around and do that routinely before each pgsql release? regards, tom lane
Files
| Path | Change | +/− |
|---|---|---|
| src/interfaces/libpgtcl/libpgtcl.h | modified | +4 −3 |
| src/interfaces/libpgtcl/pgtcl.c | modified | +6 −7 |
| src/interfaces/libpgtcl/pgtclCmds.c | modified | +134 −52 |
| src/interfaces/libpgtcl/pgtclCmds.h | modified | +3 −2 |
| src/interfaces/libpgtcl/pgtclId.c | modified | +119 −89 |
| src/interfaces/libpgtcl/pgtclId.h | modified | +18 −18 |