From: Richard Jones <rich@annexia.org>
To: Christophe TROESTLER <Christophe.Troestler@umh.ac.be>
Cc: caml-list@inria.fr, Jeremy Chatfield <jeremyc@merjis.com>
Subject: [Caml-list] Re: OcamlDBI
Date: Mon, 1 Mar 2004 19:20:02 +0000 [thread overview]
Message-ID: <20040301192002.GB8837@redhat.com> (raw)
In-Reply-To: <20040301.195138.25223321.Christophe.Troestler@umh.ac.be>
On Mon, Mar 01, 2004 at 07:51:38PM +0100, Christophe TROESTLER wrote:
> Well, you know much more about databases than I do but it seems to me
> that the following functions do the job: for PostgreSQL,
[...]
OK, this is interesting and I think we should do it. It requires
coordination because we have a metric ton of code here which uses the
current access method, and that would have to all be changed. I'll
see if I can schedule some time to do this with my manager. I also
want to be more sure about exactly how the code is going to work, so
I'll probably want to build a few prototypes and share them with you -
I'm still not 100% sure I understand how the `Null stuff works.
> Also it would be nice to be able to declare in the code new conversion
> functions (e.g. to use `Point(x,y)) -- but the decoding part is tricky
> and probably impossible without Camlp4. Have you had a need for such
> thing in your applications? In any case, one should maybe add a
> [`Unknown of string] to deal with new types...???
We use lots of odd PostgreSQL types, eg. IP addresses ... but
generally insert and select these as strings and do any conversion
necessary ourselves. Getting the basics working is most important.
Jeremy:
It looks like we have a chance to get ocamldbi accepted as the
standard DBI interface for OCaml, if we schedule some time to make a
few changes. I guess we're looking at 1-2 days work tops. What do
you think?
Rich.
--
Richard Jones. http://www.annexia.org/ http://www.j-london.com/
Merjis Ltd. http://www.merjis.com/ - improving website return on investment
http://www.YouUnlimited.co.uk/ - management courses
-------------------
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
next prev parent reply other threads:[~2004-03-01 19:20 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20040229.202452.53575435.Christophe.Troestler@umh.ac.be>
[not found] ` <20040229210015.GA31888@redhat.com>
2004-03-01 2:10 ` Christophe TROESTLER
[not found] ` <20040301092842.GC7705@redhat.com>
[not found] ` <20040301.195138.25223321.Christophe.Troestler@umh.ac.be>
2004-03-01 19:20 ` Richard Jones [this message]
2004-03-01 19:32 ` Jeremy Chatfield
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=20040301192002.GB8837@redhat.com \
--to=rich@annexia.org \
--cc=Christophe.Troestler@umh.ac.be \
--cc=caml-list@inria.fr \
--cc=jeremyc@merjis.com \
/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