From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from majordomo@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id AAA08216; Fri, 30 Jan 2004 00:36:59 +0100 (MET) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id AAA07844 for ; Fri, 30 Jan 2004 00:36:57 +0100 (MET) Received: from fichte.ai.univie.ac.at (fichte.ai.univie.ac.at [131.130.174.156]) by concorde.inria.fr (8.11.1/8.11.1) with ESMTP id i0TNauP10808 for ; Fri, 30 Jan 2004 00:36:57 +0100 (MET) Received: from fichte.ai.univie.ac.at (markus@localhost [127.0.0.1]) by fichte.ai.univie.ac.at (8.12.3/8.12.3/Debian-6.6) with ESMTP id i0TNasHn006599; Fri, 30 Jan 2004 00:36:54 +0100 Received: (from markus@localhost) by fichte.ai.univie.ac.at (8.12.3/8.12.3/Debian-6.6) id i0TNasii006598; Fri, 30 Jan 2004 00:36:54 +0100 Date: Fri, 30 Jan 2004 00:36:54 +0100 From: Markus Mottl To: Alain.Frisch@ens.fr, Richard Jones Cc: Inria Ocaml Mailing List Subject: Re: [Caml-list] PostgreSQL-OCaml 1.0.1 Message-ID: <20040129233654.GD30034@fichte.ai.univie.ac.at> Mail-Followup-To: Alain.Frisch@ens.fr, Richard Jones , Inria Ocaml Mailing List References: <20040128232131.GA22126@fichte.ai.univie.ac.at> <20040129200653.GA14321@redhat.com> <20040128232131.GA22126@fichte.ai.univie.ac.at> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040129200653.GA14321@redhat.com> User-Agent: Mutt/1.4.1i X-Loop: caml-list@inria.fr X-Spam: no; 0.00; caml-list:01 1.0.1:01 alain:01 frisch:01 ahem:01 2004:99 quantum:99 dbforge:01 1.2.2:01 incompatible:01 libpq:01 postgres:01 honoured:99 non-oo:01 low-level:01 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk 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