Re: [SQL] using constraint based paritioning to fix EAV - Mailing list pgsql-hackers

From Hannu Krosing
Subject Re: [SQL] using constraint based paritioning to fix EAV
Date
Msg-id 1153257622.3681.1.camel@localhost.localdomain
Whole thread Raw
In response to Re: [SQL] using constraint based paritioning to fix EAV type schemas? (view inheritance and constraints)  ("Andrew Hammond" <andrew.george.hammond@gmail.com>)
Responses Re: using constraint based paritioning to fix EAV  ("Andrew Hammond" <andrew.george.hammond@gmail.com>)
Re: [SQL] using constraint based paritioning to fix EAV  (Hannu Krosing <hannu@skype.net>)
List pgsql-hackers
Ühel kenal päeval, T, 2006-07-18 kell 16:44, kirjutas Andrew Hammond:
> On 7/18/06, Aaron Bono <postgresql@aranya.com> wrote: 
>         On 18 Jul 2006 09:07:08 -0700, Andrew Hammond
>         <andrew.george.hammond@gmail.com> wrote:
>         
>                 I have a client with the following EAV inspired
>                 schema.
>                 
>                 CREATE TABLE many_tables (
>                     table_id text primary key,        -- defines which
>                 virtual table is
>                 encoded
>                     attribute1 text,
>                     attribute2 text, 
>                     attribute3 text,
>                     attribute4 text,
>                     ...
>                 ); 

Maybe you can approach the problem from another end, and make the
many_tables table the virtual one and all the others into real tables ?

-- 
----------------
Hannu Krosing
Database Architect
Skype Technologies OÜ
Akadeemia tee 21 F, Tallinn, 12618, Estonia

Skype me:  callto:hkrosing
Get Skype for free:  http://www.skype.com




pgsql-hackers by date:

Previous
From: Nicolai Petri
Date:
Subject: contrib/hstore - missing, deleted or not material for contrib ?
Next
From: Thomas Bley
Date:
Subject: Re: password is no required, authentication is overridden