Avoid using sprintf() for a simple octal conversion in PQescapeByteaInternal.
Tom Lane <tgl@sss.pgh.pa.us>
Avoid using sprintf() for a simple octal conversion in PQescapeByteaInternal. Improves performance, per suggestion from Rudolf Leitgeb (bug #4414). The backend did this right already, but not libpq.
Files
| Path | Change | +/− |
|---|---|---|
| src/interfaces/libpq/fe-exec.c | modified | +7 −3 |