]> 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:17 +0000 (17:01 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Wed, 10 Sep 2008 17:01:17 +0000 (17:01 +0000)
commit8208fbb4ce26e08287f2b8ac68e530959880d88e
tree3bd490d2984d340641d8af3bd41aa7e5adb6a897
parent6c5cf22edd519cefefa335f46199005b45f404d7
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