Thread

  1. Re: TOAST and bytea JAVA

    Chris Bitmead <chris@bitmead.com> — 2001-10-10T03:52:26Z

     >Use bytea, its for 0-255, binary data.  When your client
     >library does not support it, then base64 it in client side
     >and later decode() into place.
    
    Thanks, bytea sounds like what I need. Why no documentation on this 
    important data type?
    
    Does the Java client library support setting this type using
    setBytes or setBinaryStream?
    
    
    
  2. Re: [HACKERS] TOAST and bytea JAVA

    Barry Lind <barry@xythos.com> — 2001-10-10T04:32:33Z

    Chris,
    
    Current sources for the jdbc driver does support the bytea type. 
    However the driver for 7.1 does not.
    
    thanks,
    --Barry
    
    
    Chris Bitmead wrote:
    
    >  >Use bytea, its for 0-255, binary data.  When your client
    >  >library does not support it, then base64 it in client side
    >  >and later decode() into place.
    > 
    > Thanks, bytea sounds like what I need. Why no documentation on this 
    > important data type?
    > 
    > Does the Java client library support setting this type using
    > setBytes or setBinaryStream?
    > 
    > 
    > ---------------------------(end of broadcast)---------------------------
    > TIP 4: Don't 'kill -9' the postmaster
    >