Re: Column and table constraints - anally retentive comments - Mailing list pgsql-docs

From Peter Eisentraut
Subject Re: Column and table constraints - anally retentive comments
Date
Msg-id Pine.LNX.4.44.0211151845560.12428-100000@localhost.localdomain
Whole thread Raw
In response to Column and table constraints - anally retentive comments  (Richard Huxton <dev@archonet.com>)
List pgsql-docs
Richard Huxton writes:

> Not quite taste I'd have thought. Column (value) related constraints should be
> written as such, not disconnected from their column. Same principle as
> declaring variables near to where they are needed.

It's a matter of taste. ;-)  Which does not say that any one choice
corresponds to the actual taste of the majority.

Note that the section you refer to specifically aims to illustrate that
column and table constraints are more or less interchangeable, which does
not mean that it is always a good idea to change them around beyond
recognition.

That said, if you have a better way to word it, please say so.

--
Peter Eisentraut   peter_e@gmx.net


pgsql-docs by date:

Previous
From: Neil Conway
Date:
Subject: Re: A question
Next
From: Bruno Wolff III
Date:
Subject: 7.3 rc1 timestamp description typos