Received: from localhost (maia-2.hub.org [200.46.204.187]) by postgresql.org (Postfix) with ESMTP id C80D89FB72F for ; Tue, 19 Jun 2007 00:30:31 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.187]) (amavisd-maia, port 10024) with ESMTP id 03605-06 for ; Tue, 19 Jun 2007 00:30:27 -0300 (ADT) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.5 Received: from ag-out-0708.google.com (ag-out-0708.google.com [72.14.246.240]) by postgresql.org (Postfix) with ESMTP id C909F9FB64D for ; Tue, 19 Jun 2007 00:30:27 -0300 (ADT) Received: by ag-out-0708.google.com with SMTP id 23so1296854agd for ; Mon, 18 Jun 2007 20:30:26 -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=mjYkz0oss6b8eahmAZ0M+0P5Ee5Dlb83IW/075n7bs1smm7o0tlzEaAVVq6GoUNlgjn7o7D8/WMS99SMrVMka6vzwGNLR693DkBrGUJ/NCKG17RkscVQ+SSYooRzH4rLVBo2e36bq9EbuWNd2BEL+/MNrFfWPz1/VrslyEYHbSc= 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=kQMWw/dm5JMupBMkRMwxaGQZ2+024gkbCh77NmC39YasArtXds3mrU40UfXiTFI1/Aw7+NLGDGg6kdcnnNKWQvjkNthcPrrzmj3GBXHacapYqOno+t8dG5PNZOB8Tako8UlMKID/BansrfRhUjU5Zvt2Xhg1isRb5A7Ol2eIjAc= Received: by 10.100.177.16 with SMTP id z16mr3987395ane.1182223826928; Mon, 18 Jun 2007 20:30:26 -0700 (PDT) Received: by 10.100.45.15 with HTTP; Mon, 18 Jun 2007 20:30:26 -0700 (PDT) Message-ID: Date: Tue, 19 Jun 2007 03:30:26 +0000 From: "Jaime Casanova" To: "Gabriel Hermes Colina Zambra" Subject: Re: Ejecutar \copy desde VB Cc: "Chapilliquen Gutierrez Eduardo" , "Alvaro Herrera" , pgsql-es-ayuda@postgresql.org In-Reply-To: <570797.97455.qm@web63713.mail.re1.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <570797.97455.qm@web63713.mail.re1.yahoo.com> X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200706/415 X-Sequence-Number: 28247 On 6/19/07, Gabriel Hermes Colina Zambra wrote: > > > Otra burda manera pero menos complicada, es crear un > .bat que maneje set pgpassword=clavedeusuariopostgres en vez de setear pgpassword deberias usar un archivo pgpass.conf http://www.postgresql.org/docs/8.2/static/libpq-pgpass.html > y ejecutar el bat con la instruccion shell desde > visual basic, quiza teniendo un lnk apuntando al bat. > Es una idea burda pero funciona. > pero creo, no estoy seguro porque Chapiliquen no lo dejo claro, que quiere hacer eso desde un cliente y no desde el servidor... y dudo mucho que quiera tener recursos compartidos en cada cliente solo para eso... ahora que si esta dispuesto esa seria una solucion (claro que, segun yo, necesitaria ejecutar el bat en el servidor) -- 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