[wp-hackers] PostgreSQL port status?
wordpress at dd32.id.au
Mon Oct 1 01:47:18 GMT 2007
On Mon, 01 Oct 2007 11:22:48 +1000, Jacob <wordpress at santosj.name> wrote:
> My thoughts was having all of the queries as filters specific to the
> function and query. You would end up with about several hundred filters,
> but it would allow for the easiest transition. It wouldn't be as hard or
> difficult as porting and can be just a plugin. It would also allow for
> removing upgrading conflicts.
That'd be rather pointless IMO, If your wanting to replace the database, then you use your own db class file anyway, All queries will be passed directly to the class, Your code would handle the query before its made.
It would probably be easier if all of WP used the prepare() functionality that 2.3 has introduced, AFAIK that means it'll be using something like "SELECT `id` FROM `table` WHERE `name` = '%s' ORDER BY %s" with parameters passed in, It would make it a lot easier for the database class to replace 'dodgy' queries with something more friendly for that database.
More information about the wp-hackers