On 05/02/2011 02:24 PM, sm wrote:
> hi,
> i want ot modify the pg_hba.conf file from command prompt i tried this
> command
> C:\Program Files\Postgresql\8.4\bin>pgadmin3/ch:"C:/program
> files/postgresql/8.4/data/pg_hba.conf
> but with this a window gets open and there is option to change methos
> md5 to trust, is ther any parameters to pass with this command to edit
> “pg_hba.conf” file silently without user interaction
>
sed for windows - http://gnuwin32.sourceforge.net/packages/sed.htm