pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: lbottorff@harveycounty.com
To: pgsql-admin@postgresql.org
Subject: When is a constraint too big?
Date: Tue, 30 Jan 2001 16:51:03 -0600
Message-ID: <862569E4.007D8671.00@mail.harveycounty.com> (raw)

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





Message-ID: <862569E4.007D8671.00@mail.harveycounty.com>
Permalink:  ../862569E4.007D8671.00@mail.harveycounty.com/
Also on:    postgresql.org/message-id/862569E4.007D8671.00@mail.harveycounty.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: lbottorff@harveycounty.com
  Subject: Re: When is a constraint too big?
  In-Reply-To: <862569E4.007D8671.00@mail.harveycounty.com>
  References: <862569E4.007D8671.00@mail.harveycounty.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox