Re: effective SELECT from child tables
От | mark@mark.mielke.cc |
---|---|
Тема | Re: effective SELECT from child tables |
Дата | |
Msg-id | 20050928132327.GA20467@mark.mielke.cc обсуждение исходный текст |
Ответ на | effective SELECT from child tables ("Ilia Kantor" <ilia@obnovlenie.ru>) |
Список | pgsql-hackers |
On Tue, Sep 27, 2005 at 09:30:55PM +0400, Ilia Kantor wrote: > Let table A be inherited by A1, A2, A3. > How to select from A records where actual relations are A1, A2 ? If A1 and A2 will be naturally together, where compared to A, or A3, why not introduce an intermediate table? A would be inherited by A12, and A3. A12 would be inherited by A1, and A2. You can do the UNION yourself, as well. Cheers, mark -- mark@mielke.cc / markm@ncf.ca / markm@nortel.com __________________________ . . _ ._ . . .__ . . ._. .__ . . . .__ | Neighbourhood Coder |\/| |_| |_| |/ |_ |\/| | |_ | |/ |_ | | | | | | \ | \ |__ . | | .|. |__ |__ | \ |__ | Ottawa, Ontario, Canada One ring to rule them all, one ring to find them, one ring to bring them all and in the darkness bindthem... http://mark.mielke.cc/
В списке pgsql-hackers по дате отправления: