Column References - Mailing list pgsql-admin

From Epps, Aaron M.
Subject Column References
Date
Msg-id AFB1612D9C37D21182E0006008A1F6F813D30E8C@excsrv14.mayo.edu
Whole thread Raw
Responses Re: Column References  (Bruno Wolff III <bruno@wolff.to>)
List pgsql-admin
    I've got a question about references, is it possible to specify criteria for the Reference.  For example, Table 1 has Field1 That References Field1 in Table2, However I only want Field 1 in Table 1 to reference the Records in Table2 that have the Valid Field set to TRUE.  In other words, I don't want the user to be able to enter invalid records from table 2 into field 1 in table 1.  Is there a different way of accomplishing the same thing?
 

pgsql-admin by date:

Previous
From: "PostgreSQL"
Date:
Subject: SELECT COUNT(*)... returns 0 ROWS
Next
From: Jeff
Date:
Subject: Re: SELECT COUNT(*)... returns 0 ROWS