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

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

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