[development] Referential integrity -- finally?
Sammy Spets
sammys-drupal at synerger.com
Mon Jan 22 22:48:10 UTC 2007
Good point Adrian,
I think there needs to be some effort put in to better the abstraction
we currently have. e.g db_add_column() only exists for PostgreSQL. We'd
get rid of a mountain of code if all updates were moved to use that
function for both MySQL and PostgreSQL. It would also reduce the barrier
for module developers to write PostgreSQL compatible code.
What do you guys think of this?
--
Sammy Spets
Synerger Pty Ltd
http://synerger.com
On 22-Jan-07 12:31, adrian rossouw wrote:
>
> On 20 Jan 2007, at 5:56 PM, Dries Buytaert wrote:
>
>
> When talking with people of the PostgreSQL community, for example, it
> is clear that they steer away from Drupal, because we don't take
> their industry serious. By adding support for referential integrity,
> we're reaching out to people that know more about databases. It
> wouldn't hurt to have some database experts in our community.
>
> Maintaining schemas is still a lot of work,. and i fear adding another layer of
> complexity to it will start making it unmanageable.
>
> Oracle, MSSQL, db2, mysql, sql lite, postgresql.
>
> This means we're going to be doing essentially the same work 6 times over. And
> that's only for core, the majority of contrib
> modules will still not work on other db's.
>
> I also seriously doubt that just adding referential integrity is going to draw
> lots of postgresql experts out of the ether..
>
> --
> Adrian
>
More information about the development
mailing list