Josh Berkus wrote:
> 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.

Just to add a note from YAJ, custom fields are unfortunately a
requirement in most apps I have seen, from a CMS to Quickbooks. The
reality is, you don't know everything the person wants to know about a
particular set of data.

Joshua D. Drake

> 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.


      === The PostgreSQL Company: Command Prompt, Inc. ===
Sales/Support: +1.503.667.4564 || 24x7/Emergency: +1.800.492.2240
Providing the most comprehensive  PostgreSQL solutions since 1997

Donate to the PostgreSQL Project:
PostgreSQL Replication:

---------------------------(end of broadcast)---------------------------
TIP 1: if posting/reading through Usenet, please send an appropriate
       subscribe-nomail command to [EMAIL PROTECTED] so that your
       message can get through to the mailing list cleanly

Reply via email to