Jeremy Drake <[EMAIL PROTECTED]> writes: > On Wed, 21 Mar 2007, Tom Lane wrote: >> By and large we tend to hard-wire those properties too, eg there are >> plenty of places that do things like this:
> So, what action (if any) should be taken? Should all (or some) of these > values be hardcoded, or should the current calls to determine them be left > in place? I'd vote for making this new code look like the rest of it, to wit hardwire the values. As-is, you're expending code space and cycles on flexibility that's entirely illusory --- if we ever decided to change these properties of TEXT, we'd have way more work to do than just fixing the new regexp functions. regards, tom lane ---------------------------(end of broadcast)--------------------------- TIP 4: Have you searched our list archives? http://archives.postgresql.org