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

From Andrew Hammond
Subject Re: My honours project - databases using dynamically attached entity-properties
Date
Msg-id 5a0a9d6f0703121657v65d88f04g8a021baf265f2aea@mail.gmail.com
Whole thread Raw
In response to Re: My honours project - databases using dynamically attached entity-properties  (Richard Huxton <dev@archonet.com>)
Responses Re: My honours project - databases using dynamically attached entity-properties  (Richard Huxton <dev@archonet.com>)
List pgsql-hackers
On 3/12/07, Richard Huxton <dev@archonet.com> wrote:
> Josh Berkus wrote:
> > 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.
>
> What's so horrible about DDL at runtime? Obviously, you're only going to
> allow specific additions to specific schemas/tables, but why not?

More to the point, since EAV is effectively smearing the semantics of
DDL with DML, what, if any of the arguments against doing DDL at
runtime don't apply equally to EAV? Well, aside from being able to say
"hey, I'm not executing DDL at runtime". :)

I see the issue as one of cost: it's substantially harder to implement
DDL at runtime than to work around the problem using EAV. If that
analysis is reasonable, then it would be a very interesting research
project to see how to cut down that cost of implementation.

Andrew


pgsql-hackers by date:

Previous
From: Richard Huxton
Date:
Subject: Re: My honours project - databases using dynamically attached entity-properties
Next
From: Richard Huxton
Date:
Subject: Re: My honours project - databases using dynamically attached entity-properties