Received: from easi.soft.net. (server.easi.soft.net [164.164.23.5]) by mail.postgresql.org (8.11.1/8.11.1) with ESMTP id f0VC5dq33020 for ; Wed, 31 Jan 2001 07:05:39 -0500 (EST) (envelope-from shekhar@easi.soft.net) Received: from easi.soft.net (pcl50.easi.soft.net [100.0.0.150]) by easi.soft.net. (8.8.8/8.8.8) with ESMTP id RAA27018 for ; Wed, 31 Jan 2001 17:38:55 +0530 Message-ID: <3A7801DD.530704A1@easi.soft.net> Date: Wed, 31 Jan 2001 17:45:25 +0530 From: Som Reply-To: shekhar@easi.soft.net Organization: Easi X-Mailer: Mozilla 4.7 [en] (WinNT; I) X-Accept-Language: en MIME-Version: 1.0 To: Queries Subject: FastPath protocol SQLException Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Archive-Number: 200101/472 X-Sequence-Number: 1148 Dear All, i am trying to insert image in postgres 7.0 by using following code: i am getting FastPath protocol error : Z Could any one reply earliest...? Any feasible solution ? PreparedStatement stmnt =conn.prepareStatement("insert into grms_photogallary (user_id,oid) values (?,?)"); // Set parameters String userId="soms"; stmnt.setString(1, userId); File file = new File("/jigsaw/jigsaw/www/easilogo.gif"); InputStream photoIn=new FileInputStream(file); int size=photoIn.available(); String str=""; for(int i=0;i