pgsql: Avoid using sprintf() for a simple octal conversion in

Started by Tom Lanealmost 18 years ago1 messagescomitters
Jump to latest
#1Tom Lane
tgl@sss.pgh.pa.us

Log Message:
-----------
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.

Tags:
----
REL8_3_STABLE

Modified Files:
--------------
pgsql/src/interfaces/libpq:
fe-exec.c (r1.194 -> r1.194.2.1)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/interfaces/libpq/fe-exec.c?r1=1.194&r2=1.194.2.1)