Re: My honours project - databases using dynamically attached entity-properties - Mailing list pgsql-hackers

From Josh Berkus
Subject Re: My honours project - databases using dynamically attached entity-properties
Date
Msg-id 200703121526.55706.josh@agliodbs.com
Whole thread Raw
In response to Re: My honours project - databases using dynamically attached entity-properties  ("Andrew Hammond" <andrew.george.hammond@gmail.com>)
Responses Re: My honours project - databases using dynamically attached entity-properties  ("Joshua D. Drake" <jd@commandprompt.com>)
Re: My honours project - databases using dynamically attached entity-properties  (Richard Huxton <dev@archonet.com>)
List pgsql-hackers
Amdrew,

> I have yet to encounter one, but
> Josh has more experience, and more varied experience than I do. To me,
> EAV is a perfect example of ignoring the YAGNI principal.

I've done plenty of applications where part of the specification for the 
application was "User Defined Fields" allowing the users to customize the 
data structure at runtime.  This is a very, very common thing; of the 15 
or so commercial applications I implemented from scratch as a consultant 
probably 10 of them had it.

I really don't see any way you could implement UDFs other than EAV that 
wouldn't be immensely awkward, or result in executing DDL at runtime.

-- 
--Josh

Josh Berkus
PostgreSQL @ Sun
San Francisco


pgsql-hackers by date:

Previous
From: "Andrew Hammond"
Date:
Subject: Re: My honours project - databases using dynamically attached entity-properties
Next
From: "Joshua D. Drake"
Date:
Subject: Re: My honours project - databases using dynamically attached entity-properties