pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Bill Brandt <brandtwr-pgsql@draaw.net>
To: pgsql-sql@hub.org
Subject: postgres 6.3.2 and regexp
Date: Sun, 18 Apr 1999 19:37:31 -0400
Message-ID: <19990418193731.A15075@draaw.net> (raw)

This may have been dealt with before, but I'm encountering a problem with regexp selects in postgres 6.3.2.  Is this a known bug?  

If I insert a value of '*test*' into an field and do a select like:

select * from table where 'This is a test entry'::text~*field;

I get a reply of:

ERROR:  regcomp failed with error repetition-operator operand invalid

This happens anytime the text has a * as the first character. 

-- 
Bill Brandt                                   
brandtwr@draaw.net                              http://www.draaw.net/



view thread (3+ messages)  latest in thread

Message-ID: <19990418193731.A15075@draaw.net>
Permalink:  ../19990418193731.A15075@draaw.net/
Also on:    postgresql.org/message-id/19990418193731.A15075@draaw.net

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-sql@postgresql.org
  Cc: brandtwr-pgsql@draaw.net, pgsql-sql@hub.org
  Subject: Re: postgres 6.3.2 and regexp
  In-Reply-To: <19990418193731.A15075@draaw.net>
  References: <19990418193731.A15075@draaw.net>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox