Mailing list for all users of the OCaml language and system.
 help / color / mirror / Atom feed
* binary data from Postgresql with cursors
@ 2006-01-24 18:28 Kenneth Sullivan
  2006-01-24 21:23 ` [Caml-list] " Markus Mottl
  0 siblings, 1 reply; 2+ messages in thread
From: Kenneth Sullivan @ 2006-01-24 18:28 UTC (permalink / raw)
  To: caml-list

	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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2006-01-24 21:23 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-01-24 18:28 binary data from Postgresql with cursors Kenneth Sullivan
2006-01-24 21:23 ` [Caml-list] " Markus Mottl

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox