Re: How to add month.year column validation - Mailing list pgsql-general

From Andrus
Subject Re: How to add month.year column validation
Date
Msg-id 2208EA8968E848FA980690F51B095280@andrusnotebook
Whole thread Raw
In response to Re: How to add month.year column validation  (Scott Marlowe <scott.marlowe@gmail.com>)
Responses Re: How to add month.year column validation
Re: How to add month.year column validation
List pgsql-general
Scott,

>You can use the regex I posted to get rid of the data easily, then go
>back to the substr one for  a check constraint after that.

regex is non-standard.
How to implement this in standard SQL ?

Andrus.

pgsql-general by date:

Previous
From: Scott Marlowe
Date:
Subject: Re: Optimizing data layout for reporting in postgres
Next
From: Adrian Klaver
Date:
Subject: Re: How to add month.year column validation