[wp-trac] Re: [WordPress Trac] #4678: PostgreSQL support ( patch
included )
WordPress Trac
wp-trac at lists.automattic.com
Sat Jul 28 12:41:05 GMT 2007
#4678: PostgreSQL support ( patch included )
----------------------------+-----------------------------------------------
Reporter: usleepless | Owner: anonymous
Type: enhancement | Status: new
Priority: normal | Milestone: 2.4 (future)
Component: Administration | Version: 2.2.1
Severity: normal | Resolution:
Keywords: |
----------------------------+-----------------------------------------------
Comment (by Otto42):
Wouldn't it be better to simply create a wpdb class of your own and put it
in wp-content/db.php ? This will then prevent the wp-db.php from loading
at all, and it will load your class instead. All you have to do then is to
make all the wpdb functions work for whatever database you prefer.
Doing it this way also bypasses the mysql check in settings.php. It's a
simpler way to go, seems to me. No core hacks or patches required.
--
Ticket URL: <http://trac.wordpress.org/ticket/4678#comment:2>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list