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

From Richard Huxton
Subject Re: My honours project - databases using dynamically attached entity-properties
Date
Msg-id 45F60CC7.6040308@archonet.com
Whole thread Raw
In response to Re: My honours project - databases using dynamically attached entity-properties  (Gregory Stark <stark@enterprisedb.com>)
List pgsql-hackers
Gregory Stark wrote:
> "Richard Huxton" <dev@archonet.com> writes:
> 
>> Well the cost depends on where/how complex the extra fields are. If you're just
>> talking about adding columns usercol01..NN with different types and possibly a
>> lookup to a single client_attributes table, it's not difficult.
> 
> And then what? dynamically construct all your SQL queries? 
> Sure, sounds like a simple solution to me...

No different to dynamically constructing a query for a report. Simpler, 
since in my experience most of these user-defined fields are just slots 
for extra codes/tags/notes rather than something you'd join on.

--   Richard Huxton  Archonet Ltd


pgsql-hackers by date:

Previous
From: Galy Lee
Date:
Subject: Re: autovacuum next steps, take 3
Next
From: Greg Smith
Date:
Subject: Re: Log levels for checkpoint/bgwriter monitoring