Skip site navigation (1) Skip section navigation (2)

Re: Column and table constraints - anally retentive comments

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Richard Huxton <dev(at)archonet(dot)com>
Cc: pgsql-docs(at)postgresql(dot)org
Subject: Re: Column and table constraints - anally retentive comments
Date: 2002-11-17 13:24:34
Message-ID: Pine.LNX.4.44.0211151845560.12428-100000@localhost.localdomain (view raw, whole thread or download thread mbox)
Lists: 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

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

Peter Eisentraut   peter_e(at)gmx(dot)net

In response to

pgsql-docs by date

Next:From: eleinDate: 2002-11-20 21:40:59
Subject: 7.35b doc bug?
Previous:From: Neil ConwayDate: 2002-11-15 22:50:55
Subject: Re: A question

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group