Received: from news.tht.net (news.hub.org [216.126.91.242]) by mail.postgresql.org (8.11.1/8.11.1) with ESMTP id f0NIxV092093 for ; Tue, 23 Jan 2001 13:59:31 -0500 (EST) (envelope-from news@news.tht.net) Received: (from news@localhost) by news.tht.net (8.11.1/8.11.1) id f0NIu8960853 for pgsql-interfaces@postgresql.org; Tue, 23 Jan 2001 13:56:08 -0500 (EST) (envelope-from news) From: "David Wall" X-Newsgroups: comp.databases.postgresql.interfaces Subject: blobs and small binary objects Date: Tue, 23 Jan 2001 10:56:32 -0800 Organization: Hub.Org Networking Services (http://www.hub.org) Lines: 20 Message-ID: <94kk45$1rdh$1@news.tht.net> X-Complaints-To: scrappy@hub.org X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 To: pgsql-interfaces@postgresql.org X-Archive-Number: 200101/265 X-Sequence-Number: 883 I'm new to Postgresql and am trying to figure out how I'd store Serializable objects, byte arrays and potentially large binary objects. JDBC has APIs for getObject(), getBytes() and getBlob(), but how do I define those attributes inside a table? I don't see the typical BYTE or BINARY or BLOB types. I know that 7.0.3 still suffers from the 8K row limit, so I'd hope that the JDBC library would automatically handle this for me, if I define some small objects as byte arrays, and larger objects are blobs. I saw somewhere a type BYTEA (byte array?), but I can't find it in the documentation to know if this is a real type, one of the user defined types that's a common extension, etc. Anybody handle these issues yet? Thanks, David