Implement new-protocol binary I/O support in DataRow, Bind, and FunctionCall
Tom Lane <tgl@sss.pgh.pa.us>
Implement new-protocol binary I/O support in DataRow, Bind, and FunctionCall messages. Binary I/O is now up and working, but only for a small set of datatypes (integers, text, bytea).
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/access/common/printtup.c | modified | +124 −151 |
| src/backend/commands/copy.c | modified | +4 −6 |
| src/backend/executor/spi.c | modified | +2 −6 |
| src/backend/tcop/fastpath.c | modified | +199 −168 |
| src/backend/tcop/postgres.c | modified | +20 −4 |
| src/backend/utils/cache/lsyscache.c | modified | +81 −8 |
| src/include/utils/lsyscache.h | modified | +5 −2 |