Re: Checking number of entries - Mailing list pgsql-general

From Philip Warner
Subject Re: Checking number of entries
Date
Msg-id 3.0.5.32.20000929162035.009588f0@mail.rhyme.com.au
Whole thread Raw
In response to Re: Checking number of entries  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Checking number of entries  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-general
At 00:22 29/09/00 -0400, Tom Lane wrote:
>
>Quite aside from implementation shortcomings, there are some big
>definitional issues with subselects in constraints --- just exactly
>what are they constraining?  See past discussions in the archives.
>

I've done a search for 'select constraint', with no obvious matches. My
naieve approach would be that a CHECK constraint should evaluate 'true'
assuming the data change was commited/applied (depending on evaluation
time). The CHECK is evaluated like an AFTER <action> trigger.

I presume I am missing something...


----------------------------------------------------------------
Philip Warner                    |     __---_____
Albatross Consulting Pty. Ltd.   |----/       -  \
(A.B.N. 75 008 659 498)          |          /(@)   ______---_
Tel: (+61) 0500 83 82 81         |                 _________  \
Fax: (+61) 0500 83 82 82         |                 ___________ |
Http://www.rhyme.com.au          |                /           \|
                                 |    --________--
PGP key available upon request,  |  /
and from pgp5.ai.mit.edu:11371   |/

pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: pg_dump problems
Next
From: Tom Lane
Date:
Subject: Re: reldesc does not exit