automatic password for pg_dump to be used for a batch file in vb6 - Mailing list pgsql-hackers

From oliver rombaoa
Subject automatic password for pg_dump to be used for a batch file in vb6
Date
Msg-id 451725.27707.qm@web57706.mail.re3.yahoo.com
Whole thread Raw
Responses Re: automatic password for pg_dump to be used for a batch file in vb6  (Andrew Dunstan <andrew@dunslane.net>)
Re: automatic password for pg_dump to be used for a batch file in vb6  (Magnus Hagander <magnus@hagander.net>)
Re: automatic password for pg_dump to be used for a batch file in vb6  ("Andrej Ricnik-Bay" <andrej.groups@gmail.com>)
List pgsql-hackers
i want to add database backup to my program i developed in visual basic 6, of course i can save the syntax for pg_dump
ina batch file and call it inside vb6 via "shell", but my problem is that the batch file executes but stops to prompt
fora password. how can i supply a password to it automatically or i mean within visual basic 6 so that no user
interactionis needed, i don't mind about the security since only the administrator has access for the program. please,
anyhelp will be greatly appreciated. thank you. 

oliver
A man is what he is, not what he used to be





____________________________________________________________________________________
Looking for earth-friendly autos?
Browse Top Cars by "Green Rating" at Yahoo! Autos' Green Center.
http://autos.yahoo.com/green_center/


pgsql-hackers by date:

Previous
From: mark@mark.mielke.cc
Date:
Subject: Re: Plan for compressed varlena headers
Next
From: fishware@comcast.net
Date:
Subject: Visual C++ function issues