automatic password for pg_dump to be used for a batch file in vb6

Поиск
Список
Период
Сортировка
От oliver rombaoa
Тема automatic password for pg_dump to be used for a batch file in vb6
Дата
Msg-id 451725.27707.qm@web57706.mail.re3.yahoo.com
обсуждение исходный текст
Ответы 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>)
Список 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 по дате отправления:

Предыдущее
От: mark@mark.mielke.cc
Дата:
Сообщение: Re: Plan for compressed varlena headers
Следующее
От: fishware@comcast.net
Дата:
Сообщение: Visual C++ function issues