Make dumpcolors() have tolerable performance when using 32-bit chr,
authorTom Lane <tgl@sss.pgh.pa.us>
Sat, 6 Oct 2007 16:18:09 +0000 (16:18 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Sat, 6 Oct 2007 16:18:09 +0000 (16:18 +0000)
commit298c4575200e25d1e1c3447b5400e1a6f91bc500
treee7c4b23f20f168a6ffa31b43a929d2c1fcd5d5ce
parent06ce02f989598506f611ef48ccb68e5e47d02859
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 :-(
src/backend/regex/regc_color.c