Allen Fair <[EMAIL PROTECTED]> writes: > Hi! I have a table with a character column (called match_regex) > containing a POSIX regular expression, hoping to have Postgres use it > while evaluating the "where" predicate. The following error occurs:
> SELECT * > from patterns > where 'blah blah blah' ~ match_regex; > ERROR: invalid regular expression: quantifier operand invalid This means there's at least one value in the column that's not a legal regex (* at the front is one possible cause, IIRC). regards, tom lane ---------------------------(end of broadcast)--------------------------- TIP 5: don't forget to increase your free space map settings