Domain for regular expressions?

From: Tim Landscheidt <tim(at)tim-landscheidt(dot)de>
To: pgsql-general(at)postgresql(dot)org
Subject: Domain for regular expressions?
Date: 2010-04-04 15:36:04
Message-ID: m3k4snxmaj.fsf@passepartout.tim-landscheidt.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi,

is there a "proper" domain for regular expressions? At the
moment I'm using:

| CREATE DOMAIN RegularExpression AS TEXT CHECK('' ~ VALUE OR '' !~ VALUE);

which works.

Tim

Browse pgsql-general by date

  From Date Subject
Next Message Ankuj Gupta 2010-04-04 16:02:48 How to configure the postmaster daemon so that it accepts TCP connections?
Previous Message raghavendra t 2010-04-04 02:52:00 Re: ERROR: cache lookup failed for relation X