Where can I find detail information about constraint ? - Mailing list pgsql-general

I want detail usage introduction about constraint,such as how to constrain a string to be exactly 4 character and start with 'z'.
Where can I find the reference of CHECK? detail usage.

pgsql-general by date:

Previous
From: Richard Huxton
Date:
Subject: Re: How to have ant's task insert special chars appropriately?
Next
From: "A. Kretschmer"
Date:
Subject: Re: Re: PL/PG SQL: select count(*) into from where - does not compute the where cond - returns always total count