concept constraint in category postgis

This is an excerpt from Manning's book PostGIS in Action, Third Edition.
Generally, you specify type modifiers when you declare the data type of a column. Alternatively, you can use check constraints to achieve the same effect as type modifiers after column creation. For example, you can declare a column as
characterand then add a check constraint that limits the length to be8. You can add constraints to any attributes of a column, but keep in mind that not all constraints are type modifiers. Only the most frequently used attributes are promoted to be type modifiers. In thecharacterexample, the length qualifies as a type modifier, but a lesser attribute, such as the number of vowels in thechar, does not.
There are varying degrees in the heterogeneous approach. Using a base spatial column without any subtype doesn’t necessarily mean having no additional constraints. You should still judiciously apply constraints (or type modifiers) to ensure data integrity. We advise that you at least enforce the spatial reference system, the coordinate dimension, and the number and type of band constraints, because the vast majority of all non-unary functions in PostGIS and all aggregate functions will assume a certain degree of sameness.