Re: What do I do with this error?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Josh Berkus" <josh(at)agliodbs(dot)com>
Cc: pgsql-sql(at)postgresql(dot)org
Subject: Re: What do I do with this error?
Date: 2001-03-19 03:10:55
Message-ID: 3013.984971455@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

"Josh Berkus" <josh(at)agliodbs(dot)com> writes:
> Never mind. It turns out that if you call try to feed a NULL to a
> regular expression (e.g. Client_name ~* NULL) you get:
> ERROR: regcomp failed with error empty (sub)expression
> Good to know. I had expected that regular expressions, like other
> operators, would return NULL if NULL was the pattern. Is this a bug?

Yes, I'd say so. 7.1 returns a NULL as expected ...

regards, tom lane

In response to

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message Josh Berkus 2001-03-19 04:09:59 Re: What do I do with this error?
Previous Message Josh Berkus 2001-03-19 01:39:53 Re: What do I do with this error?