Re: What do I do with this error?

From: "Josh Berkus" <josh(at)agliodbs(dot)com>
To: pgsql-sql(at)postgresql(dot)org
Subject: Re: What do I do with this error?
Date: 2001-03-19 01:39:53
Message-ID: web-26463@davinci.ethosmedia.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

Folks,

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?

-Josh Berkus

______AGLIO DATABASE SOLUTIONS___________________________
Josh Berkus
Complete information technology josh(at)agliodbs(dot)com
and data management solutions (415) 565-7293
for law firms, small businesses fax 621-2533
and non-profit organizations. San Francisco

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message Tom Lane 2001-03-19 03:10:55 Re: What do I do with this error?
Previous Message Grant Furick 2001-03-18 23:56:17 hierarchical order equivalent