Update frontend libpq to remove limits on query lengths,
Tom Lane <tgl@sss.pgh.pa.us>
Update frontend libpq to remove limits on query lengths, error/notice message lengths, and number of fields per tuple. Add pqexpbuffer.c/.h, a frontend version of backend's stringinfo module. This is first step in applying Mike Ansley's long-query patches, even though he didn't do any of these particular changes...
Files
| Path | Change | +/− |
|---|---|---|
| src/interfaces/libpq/fe-auth.c | modified | +3 −1 |
| src/interfaces/libpq/fe-connect.c | modified | +108 −89 |
| src/interfaces/libpq/fe-exec.c | modified | +252 −146 |
| src/interfaces/libpq/fe-lobj.c | modified | +41 −36 |
| src/interfaces/libpq/fe-misc.c | modified | +40 −37 |
| src/interfaces/libpq/fe-print.c | modified | +54 −63 |
| src/interfaces/libpq/libpq-int.h | modified | +12 −17 |
| src/interfaces/libpq/Makefile.in | modified | +3 −2 |
| src/interfaces/libpq/pqexpbuffer.c | added | +254 −0 |
| src/interfaces/libpq/pqexpbuffer.h | added | +169 −0 |
| src/interfaces/libpq/win32.mak | modified | +3 −1 |