From: Jaime Casanova <systemguards@gmail.com>
To: Gabriel Hermes Colina Zambra <hermeszambra@yahoo.com>
Cc: Chapilliquen Gutierrez Eduardo <ECHAPILLIQUEN@minem.gob.pe>
Cc: Alvaro Herrera <alvherre@commandprompt.com>
Cc: pgsql-es-ayuda@postgresql.org
Subject: Re: Ejecutar \copy desde VB
Date: Tue, 19 Jun 2007 03:30:26 +0000
Message-ID: <c2d9e70e0706182030t759325c8ub17c780c66cc77c@mail.gmail.com> (raw)
In-Reply-To: <570797.97455.qm@web63713.mail.re1.yahoo.com>
References: <c2d9e70e0706181909i4a27b12cif5efc73c74ca6db8@mail.gmail.com>
<570797.97455.qm@web63713.mail.re1.yahoo.com>
On 6/19/07, Gabriel Hermes Colina Zambra <hermeszambra@yahoo.com> 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-sql@postgresql.org
Cc: systemguards@gmail.com, hermeszambra@yahoo.com, ECHAPILLIQUEN@minem.gob.pe, alvherre@commandprompt.com, pgsql-es-ayuda@postgresql.org
Subject: Re: Ejecutar \copy desde VB
In-Reply-To: <c2d9e70e0706182030t759325c8ub17c780c66cc77c@mail.gmail.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox