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:
Соглашаюсь с условиями обработки персональных данных