Re: inheritence behavior question ....

From: Oliver Elphick <olly(at)lfix(dot)co(dot)uk>
To: tsmets(at)brutele(dot)be
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: inheritence behavior question ....
Date: 2002-03-25 11:01:35
Message-ID: 1017054095.1228.146.camel@linda
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Mon, 2002-03-25 at 10:09, tsmets(at)brutele(dot)be wrote:
>
> Nope what really bothers me is that I see the son's values while querying
> the father !
...

If you select on a parent table, you see all of its descendents as
well. To see just the parent say "SELECT * FROM ONLY father".

--
Oliver Elphick Oliver(dot)Elphick(at)lfix(dot)co(dot)uk
Isle of Wight http://www.lfix.co.uk/oliver
GPG: 1024D/3E1D0C1C: CA12 09E0 E8D5 8870 5839 932A 614D 4C34 3E1D 0C1C

"Why are you downcast, O my soul? Why so disturbed
within me? Put your hope in God, for I will yet praise
Him, my Saviour and my God." Psalm 42:11

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Miguel Carvalho 2002-03-25 11:30:27 BUG? - Sequence got verry strange id
Previous Message tsmets 2002-03-25 10:09:30 Re: inheritence behavior question ....