[TYPO3-dev] Using Postgres in an Extension and use pure SQL

Steffen Kamper info at sk-typo3.de
Thu Jan 29 00:51:20 CET 2009


Hi,

Andy Grunwald [wmdb] schrieb:
> Martin Kutschker schrieb:
>>
>> ...You could create your own instance of t3lib_db
>> though. But in this case you'd gain little as the class works only 
>> directly with Mysql.
> 
> How is it possible to create your own instance of t3lib_db to connect to 
> another database?
> if i remember, the data (host, user, pass) to connect to a database are 
> stored in constants and this constants will be used in t3lib_db to build 
> a connection. Or i`m on the wrong way?

have a look to DBAL, it xclasses t3lib_dv and runs an own copy.

vg Steffen




More information about the TYPO3-dev mailing list