Jeff Janes escribió:
> No, you are right, I too realized I missed a couple more spots. Your
> patch looks just like the one I eventually arrived at, before I got
> distracted thinking about how to implement the regex
> /^(global|db_\d+)\.stat$/ in C and forgot to post a correction.
>
> Is the regex code in src/backend/regex allowed to be used from "flat"
> C code, or does it have to be in the context of a transaction, memory
> context, etc.?
See 20130819180437.GF9264@eldon.alvh.no-ip.org .. the only thing missing
there is the $, AFAICT.
--
Álvaro Herrera http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training & Services