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 NAA16411; Fri, 30 Jan 2004 13:15:23 +0100 (MET) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id NAA16256 for ; Fri, 30 Jan 2004 13:15:22 +0100 (MET) Received: from rabelais.socialtools.net (rabelais.socialtools.net [81.2.94.243]) by nez-perce.inria.fr (8.11.1/8.11.1) with ESMTP id i0UCFMv26445 for ; Fri, 30 Jan 2004 13:15:22 +0100 (MET) Received: by rabelais.socialtools.net (Postfix, from userid 108) id D408823342; Fri, 30 Jan 2004 12:15:21 +0000 (GMT) Received: from socialtools.net (chaucer.socialtools.net [81.2.94.242]) by rabelais.socialtools.net (Postfix) with ESMTP id 15AD823341; Fri, 30 Jan 2004 12:15:21 +0000 (GMT) Message-ID: <401A4AD9.2060509@socialtools.net> Date: Fri, 30 Jan 2004 12:15:21 +0000 From: Benjamin Geer User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5) Gecko/20031007 X-Accept-Language: en-gb, en, fr, it MIME-Version: 1.0 To: Richard Jones Cc: caml-list@inria.fr Subject: Re: [Caml-list] PostgreSQL-OCaml 1.0.1 References: <20040130120206.GA28458@redhat.com> In-Reply-To: <20040130120206.GA28458@redhat.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on rabelais.socialtools.net X-Spam-Status: No, hits=-4.9 required=5.0 tests=BAYES_00 autolearn=ham version=2.63 X-Loop: caml-list@inria.fr X-Spam: no; 0.00; caml-list:01 1.0.1:01 dbi:99 caml:01 distinguish:01 exception:02 wrote:03 wrote:03 annoying:03 type:07 mod:07 benjamin:07 message:89 U4:88 between:12 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk Richard Jones wrote: > mod_caml contains a Dbi layer which does all that. For example, see a > random piece of code which I wrote yesterday attached to the end of > this message. Looks about right to me. How does it handle errors? (Does it always throw the same exception, regardless of the type of error? One of the things that's annoying about JDBC is that it doesn't distinguish between invalid SQL, lost database connectons, deadlocks, etc.) Can it handle BLOBs and CLOBs? Ben ------------------- 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