Skip to content
Prev 62 / 1559 Next

DBI drivers ?

David James wrote:
Hi !

Sorry for the late answer : I was on vacation.

[ ... ]
Too right ... So we need to improve this a bit. One of my pet peeves at 
the moment with RODBC is the way it munches date/time data ...

About RPgSQL : it does some great things, but the current doc does not 
describe what the current package does. For example : the funcrtion 
binding a dtabase table to a R object does nt return this R proxy 
object, as described, but, as a side effect, creates a R object having 
the same name as the table in the top-level environment.

Therefore, both packages have to be enhanced. To my na?ve eyes, it seeme 
to me that the ODBC specificaation is a good starting point, but I may 
be wrong. IMHO, we'd better stick to an early ODBC specification (2.0 or 
3.0), in order to avoid too specific features ...
Dreat ! However, I think tht wrapping those two (and other ?) drivers in 
a common interface is still the way to go ...
Ah ! That's a hard one : I use mostly PostgreSQL for many reasons, but 
ODBC is, IMHO, the most important interface : it is currently the only 
DB interface specification close enough to a cross-platform standard. As 
much as I dislike some points of the specification, I feel that this 
interface gives the most cross-platforms interoperability.

Furthermore, even as a PostgreSQL die-hard, I have sometimes to use 
other datasources. ODBC is quite useful in this case.

Therefore, I would vote for an ODBC driver as the highest priority. 
However, the proxu object concept of RPgSQL is quite interesting, and I 
wonder if such an interface can be build on top of ODBC : if so, my vote 
would go to it.

Sincerely,

					Emmanuel Charpentier