[wp-hackers] PostgreSQL port status?
usleepless at gmail.com
usleepless at gmail.com
Mon Oct 1 13:04:06 GMT 2007
On 10/1/07, DD32 <wordpress at dd32.id.au> wrote:
> 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.
`dodgy` is presume?
why are there `'s in that query?
what are they good for?
regards,
usleep
More information about the wp-hackers
mailing list