Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
[Caml-list] PostgreSQL-OCaml 1.0.1
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2004-01-30 (08:21)
From: Vitaly Lugovsky <vsl@o...>
Subject: Re: [Caml-list] PostgreSQL-OCaml 1.0.1

On Fri, 30 Jan 2004, Josh Burdick wrote:

>    If there's going to be a "new improved version", I think
> maybe it should work with multiple databases.  ODBC, JDBC, and
> DBI all attempt this.

 It was already discussed here. The conclusion was: BAD IDEA. No
way to work efficiently with different DBs using the same
approach. Btw., I don't have any problems providing support for
MySQL, PostgreSQL and Oracle from one OCaml application - but the
abstraction is on a higher level then JDBC-like interfaces

> "select * from customers"-type queries, against any database,
> without totally re-working your OCaml code.

 No way. Too much differences in the way how DBs returns the
query results (e.g., consider the postgresql asyncronous
messages). More layers converting values would just give much
more overhead, without any significiant advantages.

To unsubscribe, mail Archives:
Bug reports: FAQ:
Beginner's list: