Command args user password

From: NosyMan <nosyman(at)gmail(dot)com>
To: pgsql-patches(at)postgresql(dot)org
Subject: Command args user password
Date: 2005-08-15 07:09:39
Message-ID: 200508151009.39496.nosyman@gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-patches

Hi there,

What about a command line switch which allow the user to send password via
command line arg? For example:

./vacuumdb -U username -p password

This way vacuumdb can be run by cron without "trust"-ing any user in
pg_hba.conf.

I have patched PostgreSQL 8.0.3 source to allow password as arg for:
vacuumdb, pg_dump and pg_restore. If anyone interested please reply.

Thanks,
NosyMan

Responses

Browse pgsql-patches by date

  From Date Subject
Next Message Stefan Kaltenbrunner 2005-08-15 07:50:57 Re: psql tab-complete and backslash patch
Previous Message Eugen Nedelcu 2005-08-15 05:34:02 unsubscribe