inheritance/oid questions

From: Alex Pilosov <alex(at)pilosoft(dot)com>
To: pgsql-hackers(at)postgresql(dot)org
Subject: inheritance/oid questions
Date: 2000-10-07 23:51:38
Message-ID: Pine.BSO.4.10.10010071948360.19791-100000@spider.pilosoft.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Suppose I have table a and b (b inherits a).

Then I do select * from a*;

Now, I'd like to know which table this particular row came from (a or b).
Is this possible? Or do I have to have a column where I'd store what kind
of object this is?

-alex

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Alex Pilosov 2000-10-07 23:55:06 inheritance question 2/ref integrity
Previous Message Alex Pilosov 2000-10-07 23:15:48 Re: Patch for TNS services