Avoid using sprintf() for a simple octal conversion in PQescapeByteaInternal.

Tom Lane <tgl@sss.pgh.pa.us>

Commit: bacf7b2086d971e8b3f65eea00b5550db6fa9614
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2008-09-10T17:01:07Z
Releases: 8.4.0
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

PathChange+/−
src/interfaces/libpq/fe-exec.c modified +7 −3