Re: What do I do with this error? - Mailing list pgsql-sql

From Josh Berkus
Subject Re: What do I do with this error?
Date
Msg-id web-26463@davinci.ethosmedia.com
Whole thread Raw
Responses Re: What do I do with this error?  (Tom Lane <tgl@sss.pgh.pa.us>)
List 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
informationtechnology      josh@agliodbs.com  and data management solutions       (415) 565-7293 for law firms, small
businesses       fax 621-2533   and non-profit organizations.      San Francisco
 


pgsql-sql by date:

Previous
From: jreniz
Date:
Subject: Trigger problem
Next
From: Tom Lane
Date:
Subject: Re: What do I do with this error?