Re: check constraint on multiple tables?

From: Richard Broersma <richard(dot)broersma(at)gmail(dot)com>
To: pgsql-sql(at)postgresql(dot)org
Subject: Re: check constraint on multiple tables?
Date: 2010-03-03 15:14:29
Message-ID: 396486431003030714s48b239e2ub8b58a49b9aa29e4@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

On Wed, Mar 3, 2010 at 7:02 AM, Louis-David Mitterrand
<vindex+lists-pgsql-sql(at)apartia(dot)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

In response to

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message Louis-David Mitterrand 2010-03-03 15:19:00 Re: check constraint on multiple tables?
Previous Message Louis-David Mitterrand 2010-03-03 15:02:27 check constraint on multiple tables?