X-Original-To: pgsql-php-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id DBD1A5334C for ; Fri, 1 Apr 2005 13:55:46 +0100 (BST) 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 17189-03 for ; Fri, 1 Apr 2005 12:55:38 +0000 (GMT) Received: from vscan02.westnet.com.au (vscan02.westnet.com.au [203.10.1.132]) by svr1.postgresql.org (Postfix) with ESMTP id E8EE053250 for ; Fri, 1 Apr 2005 13:55:34 +0100 (BST) Received: from localhost (localhost.localdomain [127.0.0.1]) by localhost (Postfix) with ESMTP id F0CDC11DD1D; Fri, 1 Apr 2005 20:54:24 +0800 (WST) Received: from vscan02.westnet.com.au ([127.0.0.1]) by localhost (vscan02.westnet.com.au [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 26914-15; Fri, 1 Apr 2005 20:54:24 +0800 (WST) Received: from [202.72.133.22] (dsl-202-72-133-22.wa.westnet.com.au [202.72.133.22]) by vscan02.westnet.com.au (Postfix) with ESMTP id 8DEE711A8E1; Fri, 1 Apr 2005 20:54:21 +0800 (WST) Message-ID: <424D44C3.9050006@familyhealth.com.au> Date: Fri, 01 Apr 2005 20:55:31 +0800 From: Christopher Kings-Lynne User-Agent: Mozilla Thunderbird 0.9 (Windows/20041103) X-Accept-Language: en-us, en MIME-Version: 1.0 To: enzovenegas@mixmail.com Cc: "pgsql-php@postgresql.org" Subject: Re: migrate data References: In-Reply-To: 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.005 tagged_above=0 required=5 tests=AWL X-Spam-Level: X-Archive-Number: 200504/5 X-Sequence-Number: 3089 > hi, how I can migrate data of a file txt to postgre Check out the COPY table FROM '/path/to/file'; syntax. Chris