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

From: tgl(at)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Avoid using sprintf() for a simple octal conversion in
Date: 2008-09-10 17:01:17
Message-ID: 20080910170117.4231A7545A3@cvs.postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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)

Browse pgsql-committers by date

  From Date Subject
Next Message Alvaro Herrera 2008-09-10 18:09:20 pgsql: Add "source file" and "source line" information to each GUC
Previous Message Tom Lane 2008-09-10 17:01:08 pgsql: Avoid using sprintf() for a simple octal conversion in