Re: Domain check constraint not honored?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Eric Schwarzenbach <subscriber(at)blackbrook(dot)org>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Domain check constraint not honored?
Date: 2015-10-29 23:01:01
Message-ID: 19633.1446159661@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Eric Schwarzenbach <subscriber(at)blackbrook(dot)org> writes:
> ... (Also FWIW, the latest version of
> this regexp is now '^([0-9]+.)*[0-9]+$')

Um, that's not gonna do what you want at all. Outside brackets, a dot
is a wildcard. (Regex syntax is a mess :-(.)

regards, tom lane

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Rob Sargent 2015-10-29 23:16:14 Re: Domain check constraint not honored?
Previous Message Rob Sargent 2015-10-29 22:52:37 Re: Domain check constraint not honored?