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)
commit1340294815f358ae22d41ecd63ef8f2982293d89
tree1f23e67a66f88cc6019255a78055f8101f62b60a
parentc0360667f783243d173827a1d94aff54dbdad7af
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