Another SELECT speedup: extract OIDs of column print functions
Tom Lane <tgl@sss.pgh.pa.us>
Another SELECT speedup: extract OIDs of column print functions only once per SELECT, not once per tuple. 10% here, 10% there, pretty soon you're talking about real speedups ...
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/access/common/printtup.c | modified | +109 −11 |
| src/backend/executor/execMain.c | modified | +26 −14 |
| src/backend/executor/spi.c | modified | +2 −4 |
| src/backend/libpq/be-dumpdata.c | modified | +2 −2 |
| src/backend/nodes/print.c | modified | +2 −2 |
| src/backend/tcop/dest.c | modified | +185 −149 |
| src/include/access/printtup.h | modified | +13 −7 |
| src/include/libpq/libpq.h | modified | +4 −4 |
| src/include/tcop/dest.h | modified | +47 −15 |