Received: from mail.harveycounty.com ([165.201.45.20]) by mail.postgresql.org (8.11.1/8.11.1) with SMTP id f0UMqYq59873 for ; Tue, 30 Jan 2001 17:52:34 -0500 (EST) (envelope-from lbottorff@harveycounty.com) Received: by mail.harveycounty.com(Lotus SMTP MTA v4.6.5 (863.2 5-20-1999)) id 862569E4.007D874F ; Tue, 30 Jan 2001 16:51:06 -0600 X-Lotus-FromDomain: HARVEY From: lbottorff@harveycounty.com To: pgsql-admin@postgresql.org Message-ID: <862569E4.007D8671.00@mail.harveycounty.com> Date: Tue, 30 Jan 2001 16:51:03 -0600 Subject: When is a constraint too big? Mime-Version: 1.0 Content-type: text/plain; charset=us-ascii Content-Disposition: inline X-Archive-Number: 200101/220 X-Sequence-Number: 597 I'm building a rather large table with certain fields that have a set range of possible values. Some have a possible range of 100 or more values. Should I continue to list out the boolean gospel right there in a CONSTRAINT statement, or is this a job for a trigger, i.e., put the possible values in a mini lookup table and use a trigger? L