caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Markus Mottl <markus@oefai.at>
To: Alain.Frisch@ens.fr, Richard Jones <rich@annexia.org>
Cc: Inria Ocaml Mailing List <caml-list@inria.fr>
Subject: Re: [Caml-list] PostgreSQL-OCaml 1.0.1
Date: Fri, 30 Jan 2004 00:36:54 +0100	[thread overview]
Message-ID: <20040129233654.GD30034@fichte.ai.univie.ac.at> (raw)
In-Reply-To: <20040129200653.GA14321@redhat.com> <Pine.SOL.4.44.0401290922110.17012-100000@clipper.ens.fr>

On Thu, 29 Jan 2004, Alain.Frisch@ens.fr wrote:
> Ahem. The last release is dated 2004-01-20 ;-)  (added support for
> escaping strings).

Uh, oh, this must have been some kind of quantum entanglement making us
start adding changes the same day ;-)

> The library is used by a non-negligible number of people, including
> by some companies and for other libraries (e.g. mod_caml, Chartpak,
> DBForge, ...). And according to some mails I got, the users are quite
> satisfied with the current library. Moreover, it has been packaged
> for some Linux distributions.

Yes, your library was a very good starting point. I think the new version
is slightly cleaner and more regular though. I have just released a new
version (1.2.2) that makes some incompatible changes for better support
of default arguments, because, as it seems, you want to maintain the
initial interface, anyway. Thus, there is not so much need for me to
keep things as compatible as possible.

> It's a good thing to add documentation (even though the users
> would need to read the libpq doc anyway).

True, but having some short docs in the interface saves time in many
cases.

> Actually, this is the only feature request for Postgres that I have
> not honoured. But changing the interface (changing names, types,
> and removing all the non-OO low-level interface) would force existing
> users to rewrite there code for no benefit (AFAICT).

Understandable.

> So I'm not going to stop maintaining the existing library, even though
> I'd be glad to give maintenance to you since I'm not using the library,
> and even though I feel it's somewhat a waste of resources for the
> community to maintain and package two libraries.

How about making my recent release the new major version? Most libraries
have to introduce incompatibilities at some point of time when they
evolve anyway. I still remember changing the interface of Pcre to make
use of default arguments, a totally incompatible move. Users dropped
the old version instantly without complaining.

> I would have appreciated to know about your intention to "fork" the
> library before the public annoucement so that we could have agreed on
> a policy. Well anyway, not a big deal.

Sorry about that! I actually hadn't even intended to rewrite it, this,
ahem, just happened! I wanted to use your library for storing online
business transactions and therefore took a very close look at all of
the code. Since I'm a pedant by nature, I started rewriting some bits
here and there and suddenly it came to me that I could as well make a
new release :-)

Next time I'll contact original authors a bit earlier. It was really a
stupid coincidence that we started out adding changes more or less the
same day after several years.

On Thu, 29 Jan 2004, Richard Jones wrote:
> From my point of view (mod_caml depends on the postgres support) it
> would be nice to have just one library to work with.  Perhaps combine
> the best features of both into a single release?

Even though the interfaces are not fully type compatible, it is very
easy to adapt existing code. The OCaml-compiler + supported editors
will allow you to jump from effected line to line very quickly,
and changes usually require hardly any effort. The two versions are
otherwise feature-compatible and also pretty feature-complete wrt. what
PostgreSQL offers.

Best regards,
Markus

-- 
Markus Mottl          http://www.oefai.at/~markus          markus@oefai.at

-------------------
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners


  reply	other threads:[~2004-01-29 23:36 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-01-28 18:32 Markus Mottl
2004-01-28 22:44 ` Stefano Zacchiroli
2004-01-28 23:21   ` Markus Mottl
2004-01-29  9:38     ` Sven Luther
2004-01-29 18:18     ` Alain.Frisch
2004-01-29 20:06       ` Richard Jones
2004-01-29 23:36         ` Markus Mottl [this message]
2004-01-30  5:50         ` Josh Burdick
2004-01-30  7:37           ` Shawn Wagner
2004-01-30  8:21           ` Vitaly Lugovsky
2004-01-30 10:24             ` Benjamin Geer
2004-01-30 10:47               ` Richard Jones
2004-01-30 14:58                 ` Gerd Stolpmann
2004-01-30 15:46                   ` Richard Jones
2004-01-30 11:14               ` Markus Mottl
2004-01-30 11:25               ` Vitaly Lugovsky
2004-01-30 11:41                 ` Benjamin Geer
2004-01-30 16:44               ` Alex Baretta
2004-01-30 16:49                 ` Benjamin Geer
2004-01-30  8:23           ` Alain.Frisch
2004-02-01 21:03   ` Alain.Frisch
2004-01-30 12:02 Richard Jones
2004-01-30 12:15 ` Benjamin Geer
2004-01-30 12:23   ` Richard Jones
2004-01-30 12:30     ` Richard Jones
2004-01-30 12:43     ` Benjamin Geer
2004-01-30 12:56     ` Benjamin Geer
2004-01-30 13:22       ` Richard Jones

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20040129233654.GD30034@fichte.ai.univie.ac.at \
    --to=markus@oefai.at \
    --cc=Alain.Frisch@ens.fr \
    --cc=caml-list@inria.fr \
    --cc=rich@annexia.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).