X-Original-To: pgsql-php-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [64.117.224.130]) by svr1.postgresql.org (Postfix) with ESMTP id 9F73ED1B8D3 for ; Fri, 15 Aug 2003 18:17:12 +0000 (GMT) Received: from svr1.postgresql.org ([64.117.224.193]) by localhost (neptune.hub.org [64.117.224.130]) (amavisd-new, port 10024) with ESMTP id 09490-08 for ; Fri, 15 Aug 2003 15:17:02 -0300 (ADT) Received: from mail.ez3pl.com (66-136-75-131.ded.swbell.net [66.136.75.131]) by svr1.postgresql.org (Postfix) with ESMTP id 2BC43D1B8CF for ; Fri, 15 Aug 2003 15:16:43 -0300 (ADT) Received: from speedfc.com (djackson.espeedfulfillment.com [172.25.96.11]) by mail.ez3pl.com (8.11.2/8.11.2) with ESMTP id h7FIFsx14322 for ; Fri, 15 Aug 2003 13:15:54 -0500 Message-ID: <3F3D235D.6090005@speedfc.com> Date: Fri, 15 Aug 2003 13:15:57 -0500 From: DeJuan Jackson User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3) Gecko/20030312 X-Accept-Language: en-us, en MIME-Version: 1.0 To: pgsql-php@postgresql.org Subject: PHP and COPY Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200308/62 X-Sequence-Number: 2239 Does anyone know how to execute a COPY from PHP? I keep getting parse errors on all the data. PHP 4.3.2 PostgreSQL 7.3.4 example: CREATE table tmp(data text); COPY tmp FROM STDIN; test1 test2 test3 \.