From: Kenneth Sullivan <sullivan@mayachitra.com>
To: caml-list@inria.fr
Subject: binary data from Postgresql with cursors
Date: Tue, 24 Jan 2006 10:28:42 -0800 [thread overview]
Message-ID: <EB20465D-0604-4591-B376-A690B65D625D@mayachitra.com> (raw)
Hi, I'm trying to pull binary data out of a postgresql database with
the Postgresql module. In postgresql, CURSORs have a binary option,
which skips the usual conversion to text (which must be converted
back). However the module methods for getting data from a result,
e.g. get_tuple, getvalue, all return string types, with no
straightforward way to get ints and floats. Has anyone else ran into
this?
Thanks,
Ken Sullivan
next reply other threads:[~2006-01-24 18:28 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-01-24 18:28 Kenneth Sullivan [this message]
2006-01-24 21:23 ` [Caml-list] " Markus Mottl
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=EB20465D-0604-4591-B376-A690B65D625D@mayachitra.com \
--to=sullivan@mayachitra.com \
--cc=caml-list@inria.fr \
/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