Received: from localhost (maia-5.hub.org [200.46.204.182]) by postgresql.org (Postfix) with ESMTP id 0EB609FBC79 for ; Mon, 18 Jun 2007 23:09:54 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.182]) (amavisd-maia, port 10024) with ESMTP id 15427-01-2 for ; Mon, 18 Jun 2007 23:09:42 -0300 (ADT) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.4 Received: from an-out-0708.google.com (an-out-0708.google.com [209.85.132.242]) by postgresql.org (Postfix) with ESMTP id 23AF29FBB92 for ; Mon, 18 Jun 2007 23:09:47 -0300 (ADT) Received: by an-out-0708.google.com with SMTP id c36so374626ana for ; Mon, 18 Jun 2007 19:09:46 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=TWsAYBcDCcW4Xl8Qdn2KGZSGxWM9ypFjp6H0i+LP549nMxiWHoGyuT+Uamqb/wzkQ4PypFFSS7Rrq8d84B9BNk2/7Bsd/RoRGv2axwXEbLpgNbwKtSZao8hnJ9BFolgHanMTLKEY8Ln+cgjGUHpB0S0yJoCUFNpYAg2gCTh6+xE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=IxBuaZDnRtE8mYS9wY2lwc8vXWm2HcCrCWSC9VeahVmEvrcSoRttQ9NFjLMM9E43Gu4xmBb56VHcUBSEux27QX5+94ctdQ+JQBDJjSsbMZbUDz2f4mRmji/FFWWocNfgxFJZVdXsrkHEXxyBjF2Sr1ggHeH7bjUy4SU69bxZ5P4= Received: by 10.100.46.19 with SMTP id t19mr3954166ant.1182218986650; Mon, 18 Jun 2007 19:09:46 -0700 (PDT) Received: by 10.100.45.15 with HTTP; Mon, 18 Jun 2007 19:09:46 -0700 (PDT) Message-ID: Date: Tue, 19 Jun 2007 02:09:46 +0000 From: "Jaime Casanova" To: "Chapilliquen Gutierrez Eduardo" Subject: Re: Ejecutar \copy desde VB Cc: "Alvaro Herrera" , pgsql-es-ayuda@postgresql.org In-Reply-To: <52865C3823D7134E909B33D382298594202A4C@srvmail01.mem.int> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <52865C3823D7134E909B33D3822985942028A3@srvmail01.mem.int> <20070618173053.GE13688@alvh.no-ip.org> <52865C3823D7134E909B33D382298594202A4C@srvmail01.mem.int> X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200706/413 X-Sequence-Number: 28245 On 6/18/07, Chapilliquen Gutierrez Eduardo wrote: > Pero como puedo cargar mi archivo con COPY FROM STDIN?? > ejecutas el comando "COPY tutabla FROM stdin;" con conexion.execute y luego empiezas a enviar datos a traves de STDIN, este articulo muestra como hacerlo http://support.microsoft.com/kb/239588 Bueno... te da una idea, para que puedas seguir adelante ;) -- Atentamente, Jaime Casanova "Programming today is a race between software engineers striving to build bigger and better idiot-proof programs and the universe trying to produce bigger and better idiots. So far, the universe is winning." Richard Cook