From: Randy Kunkee <kunkee@pluto.ops.NeoSoft.com>
Marc G. Fournier <scrappy@hub.org>
From: Randy Kunkee <kunkee@pluto.ops.NeoSoft.com> It is my hope that the following "patches" to libpgtcl get included in the next release. See the update to the README file to get a full description of the changes. This version of libpgtcl is completely interpreter-safe, implements the database connection handle as a channel (no events yet, but will make it a lot easier to do fileevents on it in the future), and supports the SQL "copy table to stdout" and "copy table from stdin" commands, with the I/O being from and to the connection handle. The connection and result handles are formatted in a way to make access to the tables more efficient.
Files
| Path | Change | +/− |
|---|---|---|
| src/interfaces/libpgtcl/Makefile.in | modified | +4 −4 |
| src/interfaces/libpgtcl/pgtcl.c | modified | +109 −150 |
| src/interfaces/libpgtcl/pgtclCmds.c | modified | +824 −941 |
| src/interfaces/libpgtcl/pgtclCmds.h | modified | +57 −77 |
| src/interfaces/libpgtcl/pgtclId.c | modified | +300 −141 |
| src/interfaces/libpgtcl/pgtclId.h | modified | +45 −20 |
| src/interfaces/libpgtcl/README | modified | +35 −3 |