Cause PQescapeString to stop processing at a null character, rather
Tom Lane <tgl@sss.pgh.pa.us>
Cause PQescapeString to stop processing at a null character, rather than generating an invalid output string. Per observation and patch from Igor Shevchenko. Further code cleanup and documentation by Tom Lane.
Files
| Path | Change | +/− |
|---|---|---|
| doc/src/sgml/libpq.sgml | modified | +8 −5 |
| src/interfaces/libpq/fe-exec.c | modified | +21 −21 |