pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Robins Tharakan <tharakan@gmail.com>
To: Paul Lambert <paul.lambert@autoledgers.com.au>
Cc: pgsql-sql <pgsql-sql@postgresql.org>
Subject: Re: Quick question re foreign keys.
Date: Wed, 24 Oct 2007 19:57:44 +0530
Message-ID: <36af4bed0710240727i3b8b2753q1fd0dd5397a3e4f0@mail.gmail.com> (raw)
In-Reply-To: <471EB767.5040009@autoledgers.com.au>
References: <471EA7D5.9040403@autoledgers.com.au>
	<21715.1193193880@sss.pgh.pa.us>
	<471EB55F.5050600@autoledgers.com.au>
	<471EB767.5040009@autoledgers.com.au>

Forgive my butting in, but frankly, most of the times, whenever I find
myself in a very 'exceptional problem' such as this one, I always end up
questioning the basic design due to which I am stuck in the first place.

Paul, it seems that probably there is a basic design issue here.

All the best :)

Robins

On 10/24/07, Paul Lambert <paul.lambert@autoledgers.com.au> wrote:
>
> Paul Lambert wrote:
> >
> > It's marked not null as a result of being part of the primary key for
> > that table which I can't really get around.
> >
> > I can get away with not having the foreign key though, so I'll have to
> > go down that path.
> >
> > Cheers,
> > P.
> >
>
> Ignore this whole thread actually.
>
> I need to rethink some of my design.
>
> --
> Paul Lambert
> Database Administrator
> AutoLedgers
>
> ---------------------------(end of broadcast)---------------------------
> TIP 9: In versions below 8.0, the planner will ignore your desire to
>        choose an index scan if your joining column's datatypes do not
>        match
>

view thread (9+ messages)  latest in thread

Message-ID: <36af4bed0710240727i3b8b2753q1fd0dd5397a3e4f0@mail.gmail.com>
Permalink:  ../36af4bed0710240727i3b8b2753q1fd0dd5397a3e4f0@mail.gmail.com/
Also on:    postgresql.org/message-id/36af4bed0710240727i3b8b2753q1fd0dd5397a3e4f0@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: tharakan@gmail.com, paul.lambert@autoledgers.com.au
  Subject: Re: Quick question re foreign keys.
  In-Reply-To: <36af4bed0710240727i3b8b2753q1fd0dd5397a3e4f0@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