Re: effective SELECT from child tables - Mailing list pgsql-hackers

From Ilia Kantor
Subject Re: effective SELECT from child tables
Date
Msg-id auto-000572009541@umail.ru
Whole thread Raw
In response to Re: effective SELECT from child tables  (Simon Riggs <simon@2ndquadrant.com>)
Responses Re: effective SELECT from child tables
List pgsql-hackers

> If you treat the sub-class Discriminator as a data item rather than some
> additional syntax for class membership then you will find this works
> very straightforwardly for you.

Your suggestion is essentially the same as mine.. 
There exists tableoid, pretty much suited to tell between tables in the case
of inheritance.. I can't see a "real" need to add a special "class
classifier" to each table..
This solution is a workaround. It will work, just can't make myself love it.





pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: [PATCHES] Proposed patch for sequence-renaming problems
Next
From: Tony Caduto
Date:
Subject: Found small issue with OUT params