libpq's query to get the OIDs of large-object support functions was not
Tom Lane <tgl@sss.pgh.pa.us>
libpq's query to get the OIDs of large-object support functions was not schema-safe. Make it so, and improve the internal support for knowledge of server version.
Files
| Path | Change | +/− |
|---|---|---|
| src/interfaces/libpq/fe-exec.c | modified | +20 −4 |
| src/interfaces/libpq/fe-lobj.c | modified | +29 −11 |
| src/interfaces/libpq/fe-protocol2.c | modified | +7 −4 |
| src/interfaces/libpq/libpq-int.h | modified | +2 −2 |