[DB-SIG] Re: psycopg 0.96b1

Federico Di Gregorio fog@mixadlive.com
Sun, 2 Sep 2001 00:31:22 +0200


Scavenging the mail folder uncovered Eric Bianchi's letter:
> Concerning the binary objects support in Postgresql 7.1, It seems to me that bytea is a long text type and can't be considered as a binary object. Binary objects are handled by low level functions like lo_create, lo_open, ... and their type is oid. 

eric, you're confusing a *large* object with a binary (i.e. null-safe)
object.

> According to Postgresql's documentation, bytea type must be considered as a text type. 

bytea is a null-safe byte array. that is, a 'binary object'.

have fun,
federico