Hi,

the OID type is a 4 byte integer. At least the postgresql documentation 
says. See 
http://www.postgresql.org/docs/9.1/interactive/datatype-oid.html. So it 
seems right, that tntdb returns the OID. Or do I miss something?

We use bytea 
(http://www.postgresql.org/docs/9.1/interactive/datatype-binary.html) to 
store binary data and can read and write them successfully using tntdb.

Tommi

On 11/30/2011 02:50 AM, Chris Stier wrote:
> Hi all,
> I'm trying to work with some huge binary data out of a postgres db.
> It's stored as an OID type.  When I use the tntdb::Blob object,
> blob.data()  returns the OID reference ID and not the actual binary
> data.  Does anyone know a work around for this?  I really don't want
> to use libpq directly :O)
> Thanks,
> JC
>
> ------------------------------------------------------------------------------
> All the data continuously generated in your IT infrastructure
> contains a definitive record of customers, application performance,
> security threats, fraudulent activity, and more. Splunk takes this
> data and makes sense of it. IT sense. And common sense.
> http://p.sf.net/sfu/splunk-novd2d
> _______________________________________________
> Tntnet-general mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/tntnet-general


------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
_______________________________________________
Tntnet-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tntnet-general

Reply via email to