Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
binary data from Postgresql with cursors
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Kenneth Sullivan <sullivan@m...>
Subject: binary data from Postgresql with cursors
	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  

Ken Sullivan