[erlang-questions] PostgreSQL driver

YC <>
Sun Dec 2 22:40:58 CET 2007


Sure ODBC is general, but it is currently incomplete (not all odbc types are
supported for prepared statements).  The combo of odbc + psql + linux seem
to have issues, and apparently ODBC is low priority due to lack of funding.
See http://www.erlang.org/pipermail/erlang-questions/2007-October/029744.html
and
http://www.erlang.org/pipermail/erlang-questions/2007-October/029787.html.

My point of a generic database interface is that there should be an effort
to unify the interface (i.e. methods, usages, etc) for the native drivers so
the cost of moving between databases is minimized.  Not to say there can't
be innovations and driver-specific methods, but having a common denominator
is imperative from users' perspective.

Cheers,
yc

On Dec 2, 2007 8:18 AM, Ulf Wiger <> wrote:

> OTP supports ODBC, which is exactly that: a general sql database
> interface.
>
> Not that I want to argue against having mysql and postgresql
> drivers. (: It makes sense to have optimized solutions for very
> commonly used databases.
>
> BR,
> Ulf W
>
> 2007/12/1, YC <>:
> > Shouldn't mysql also be considered together?  So erlang can get closer
> > toward having a general sql database interface like other languages.
>  Not to
> > pile on scope or anything :)
> >
> > I'll help test :)
> >
> >
> >  On Nov 30, 2007 3:53 PM, Christophe Romain
> > <> wrote:
> > > we must not let pgsql driver in that state.
> > > does anyone have time to check if all theses version can be merged ?
> > >
> > >
> > >
> > > _______________________________________________
> > > erlang-questions mailing list
> > > 
> > > http://www.erlang.org/mailman/listinfo/erlang-questions
> > >
> >
> >
> > _______________________________________________
> > erlang-questions mailing list
> > 
> > http://www.erlang.org/mailman/listinfo/erlang-questions
> >
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20071202/618f6386/attachment.html>


More information about the erlang-questions mailing list