[development] Referential integrity -- finally?

Gerhard Killesreiter gerhard at killesreiter.de
Tue Jan 23 12:04:29 UTC 2007

Sammy Spets wrote:
> 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?

Problem is that Dries doesn't like this _at_ _all_. :p

His argument is IIRC that we should stick to as plain SQL as possible to 
not further increase the barrier of entry for people already knowing SQL.

While his argument has merit, I think it is put ad absurdum by the fact, 
that Drupal doesn't have any plain sql files anymore.


More information about the development mailing list