pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Richard Broersma <richard.broersma@gmail.com>
To: pgsql-sql@postgresql.org
Subject: Re: check constraint on multiple tables?
Date: Wed, 3 Mar 2010 07:14:29 -0800
Message-ID: <396486431003030714s48b239e2ub8b58a49b9aa29e4@mail.gmail.com> (raw)
In-Reply-To: <20100303150227.GA18661@apartia.fr>
References: <20100303150227.GA18661@apartia.fr>

On Wed, Mar 3, 2010 at 7:02 AM, Louis-David Mitterrand
<vindex+lists-pgsql-sql@apartia.org> wrote:


> What is the best solution? Adding an id_ship to 'cabin'? Or check'ing
> with a join down to 'ship'? (if possible).

Can you post simplified table definitions for the relations involved?


-- 
Regards,
Richard Broersma Jr.

Visit the Los Angeles PostgreSQL Users Group (LAPUG)
http://pugs.postgresql.org/lapug



view thread (21+ messages)  latest in thread

Message-ID: <396486431003030714s48b239e2ub8b58a49b9aa29e4@mail.gmail.com>
Permalink:  ../396486431003030714s48b239e2ub8b58a49b9aa29e4@mail.gmail.com/
Also on:    postgresql.org/message-id/396486431003030714s48b239e2ub8b58a49b9aa29e4@mail.gmail.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 using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: richard.broersma@gmail.com
  Subject: Re: check constraint on multiple tables?
  In-Reply-To: <396486431003030714s48b239e2ub8b58a49b9aa29e4@mail.gmail.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