X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id CC6623ABF70; Thu, 23 Dec 2004 08:15:59 +0000 (GMT) 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 10521-08; Thu, 23 Dec 2004 08:15:54 +0000 (GMT) Received: from tigger.fuhr.org (tigger.fuhr.org [63.214.45.158]) by svr1.postgresql.org (Postfix) with ESMTP id B46353ABF51; Thu, 23 Dec 2004 08:15:54 +0000 (GMT) Received: from winnie.fuhr.org (winnie.fuhr.org [10.1.0.1]) by tigger.fuhr.org (8.13.1/8.13.1) with ESMTP id iBN8FZkQ022186 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Thu, 23 Dec 2004 01:15:39 -0700 (MST) (envelope-from mfuhr@winnie.fuhr.org) Received: from winnie.fuhr.org (localhost [127.0.0.1]) by winnie.fuhr.org (8.13.1/8.13.1) with ESMTP id iBN8FZbI047520; Thu, 23 Dec 2004 01:15:35 -0700 (MST) (envelope-from mfuhr@winnie.fuhr.org) Received: (from mfuhr@localhost) by winnie.fuhr.org (8.13.1/8.13.1/Submit) id iBN8FZLh047519; Thu, 23 Dec 2004 01:15:35 -0700 (MST) (envelope-from mfuhr) Date: Thu, 23 Dec 2004 01:15:35 -0700 From: Michael Fuhr To: Nageshwar Rao Cc: "'pgsql-admin@postgresql.org'" , pgsql-general@postgresql.org Subject: Re: [GENERAL] bytea Message-ID: <20041223081535.GA47439@winnie.fuhr.org> References: <5F4ED4205E00D6119BFE009027DE39090793EFDA@MLSW00103> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <5F4ED4205E00D6119BFE009027DE39090793EFDA@MLSW00103> X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.002 tagged_above=0 required=5 tests=AWL X-Spam-Level: X-Archive-Number: 200412/227 X-Sequence-Number: 15813 On Thu, Dec 23, 2004 at 12:41:29PM +0530, Nageshwar Rao wrote: > How to the insert into bytea data type column? See the "Binary Data Types" section of the "Data Types" chapter in the PostgreSQL documentation -- it shows the format for BYTEA data. Your interface to PostgreSQL might have a function to convert data to the necessary format. How are you communicating with the database? -- Michael Fuhr http://www.fuhr.org/~mfuhr/