X-Original-To: pgsql-performance-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 605E68B9CF2 for ; Wed, 23 Feb 2005 08:29:57 +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 06048-10 for ; Wed, 23 Feb 2005 08:29:50 +0000 (GMT) Received: from anchor-post-35.mail.demon.net (anchor-post-35.mail.demon.net [194.217.242.85]) by svr1.postgresql.org (Postfix) with ESMTP id 3D3DB8B9C8A for ; Wed, 23 Feb 2005 08:29:51 +0000 (GMT) Received: from mwynhau.demon.co.uk ([193.237.186.96] helo=mainbox.archonet.com) by anchor-post-35.mail.demon.net with esmtp (Exim 4.42) id 1D3rsB-000Gxw-J9; Wed, 23 Feb 2005 08:27:56 +0000 Received: from [192.168.1.17] (client17.archonet.com [192.168.1.17]) by mainbox.archonet.com (Postfix) with ESMTP id BD7F1179E2; Wed, 23 Feb 2005 08:29:49 +0000 (GMT) Message-ID: <421C3EFD.1010205@archonet.com> Date: Wed, 23 Feb 2005 08:29:49 +0000 From: Richard Huxton User-Agent: Mozilla Thunderbird 1.0 (X11/20041206) X-Accept-Language: en-us, en MIME-Version: 1.0 To: "Asatryan, Anahit" Cc: pgsql-performance@postgresql.org Subject: Re: Help me please ! References: <8267A5C8B2C7AD4DBE9C29304C6104DE251408@so1evn001.Office.local> In-Reply-To: <8267A5C8B2C7AD4DBE9C29304C6104DE251408@so1evn001.Office.local> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.062 tagged_above=0 required=5 tests=AWL, FORGED_RCVD_HELO X-Spam-Level: X-Archive-Number: 200502/314 X-Sequence-Number: 10643 Asatryan, Anahit wrote: > I am running postgreSQL 8.0.1 under the Windows 2000. I want to use COPY > FROM STDIN function from Java application, but it doesn't work, it > throws: > > "org.postgresql.util.PSQLException: Unknown Response Type G" error. I don't think that there is a "STDIN" if you are executing via JDBC. The only workaround I know of is to create a file and copy from that, which you already have working. -- Richard Huxton Archonet Ltd