]> granicus.if.org Git - postgresql/commit
Avoid using sprintf() for a simple octal conversion in PQescapeByteaInternal.
authorTom Lane <tgl@sss.pgh.pa.us>
Wed, 10 Sep 2008 17:01:07 +0000 (17:01 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Wed, 10 Sep 2008 17:01:07 +0000 (17:01 +0000)
commitbacf7b2086d971e8b3f65eea00b5550db6fa9614
treeae5a68256f74d2c4bc02ab411085c076c9a920c1
parent3c221c3dae5978ef3668000a3b7166e2a4f9a750
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.
src/interfaces/libpq/fe-exec.c