Re: [SQL] Regular expression query

2000-10-15 Thread Bruce Momjian
> Rodger Donaldson <[EMAIL PROTECTED]> writes: > > SELECT url > > FROM sites > > WHERE url ~ url || '\\s+' > > > While this concatenation works with the LIKE directive (ie LIKE url || '%'), > > postgresql barfs on it in a regexp with the error: > > > ERROR: Unable to identify an operator '||'

Re: [SQL] Regular expression query

2000-08-28 Thread Oliver Seidel
> The regexp package we currently use implements POSIX 1003.2 regexps > (see src/backend/regex/re_format.7). I believe there is an item on the > TODO list about upgrading the regexp parser to something more modern > ... feel free to hop on that project if it's bugging you ... I would like to rec

Re: [SQL] Regular expression query

2000-08-24 Thread Tom Lane
Rodger Donaldson <[EMAIL PROTECTED]> writes: > SELECT url > FROM sites > WHERE url ~ url || '\\s+' > While this concatenation works with the LIKE directive (ie LIKE url || '%'), > postgresql barfs on it in a regexp with the error: > ERROR: Unable to identify an operator '||' for types 'bool' a