pgsql: Make dumpcolors() have tolerable performance when using 32-bit - Mailing list pgsql-committers

From tgl@postgresql.org (Tom Lane)
Subject pgsql: Make dumpcolors() have tolerable performance when using 32-bit
Date
Msg-id 20071006161809.A984F753E4C@cvs.postgresql.org
Whole thread Raw
List pgsql-committers
Log Message:
-----------
Make dumpcolors() have tolerable performance when using 32-bit chr,
as we do (and upstream Tcl doesn't).  The loop limit might be subject
to negotiation if anyone ever tries to do regex debugging in Far
Eastern languages, but for now 1000 seems plenty.  CHR_MAX was right out :-(

Modified Files:
--------------
    pgsql/src/backend/regex:
        regc_color.c (r1.5 -> r1.6)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/regex/regc_color.c?r1=1.5&r2=1.6)

pgsql-committers by date:

Previous
From: tgl@postgresql.org (Tom Lane)
Date:
Subject: pgsql: Adjust some regex debugging printouts to not give
Next
From: alvherre@postgresql.org (Alvaro Herrera)
Date:
Subject: pgsql: Fix missing parenthesis, per Guillaume Lelarge.