X-Original-To: pgsql-odbc-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 65F2953421 for ; Tue, 12 Apr 2005 09:18:50 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 63111-10 for ; Tue, 12 Apr 2005 12:18:46 +0000 (GMT) Received: from Mail2.KONTENT.De (mail2.kontent.de [81.88.34.59]) by svr1.postgresql.org (Postfix) with ESMTP id 74FF253405 for ; Tue, 12 Apr 2005 09:18:45 -0300 (ADT) Received: from jedi.behrens.de (p508CCD83.dip0.t-ipconnect.de [80.140.205.131]) by Mail2.KONTENT.De (Postfix) with ESMTP id 6F2D83880A3 for ; Tue, 12 Apr 2005 14:18:47 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by jedi.behrens.de (Postfix) with ESMTP id CDA513B263 for ; Tue, 12 Apr 2005 14:18:11 +0200 (CEST) Received: from jedi.behrens.de ([127.0.0.1]) by localhost (jedi [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 14648-09 for ; Tue, 12 Apr 2005 14:18:11 +0200 (CEST) Received: from anakin (anakin.behrens.de [192.168.150.240]) by jedi.behrens.de (Postfix) with ESMTP id 51A5C3B262 for ; Tue, 12 Apr 2005 14:18:11 +0200 (CEST) From: lothar.behrens@lollisoft.de To: pgsql-odbc@postgresql.org Date: Tue, 12 Apr 2005 14:19:17 +0200 MIME-Version: 1.0 Subject: bytea question Message-ID: <425BD8E5.23073.C81F5C@localhost> X-mailer: Pegasus Mail for Windows (4.21c, DE v4.21c R1a) Content-type: text/plain; charset=ISO-8859-1 Content-transfer-encoding: Quoted-printable Content-description: Mail message body X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.264 tagged_above=0 required=5 tests=AWL, FORGED_RCVD_HELO, NO_REAL_NAME X-Spam-Level: X-Archive-Number: 200504/28 X-Sequence-Number: 5187 Hi, I like to store binary data in columns. Here are my questions: What SQL type is used to identify bytea columns ? Are there samples on how to store that binary data or retrieve it ? Is there a way to identify the data type inside that binary data - like MI= ME type ? Thanks Lothar -- Lothar Behrens www.lollisoft.de Rosmarinstr 3 My public project: 40235 D=FCsseldorf http://sourceforge.net/projects/lbdmf