On Wed, Mar 4, 2015 at 10:54 PM, Prasad <prasad(dot)s(at)mail(dot)com> wrote:
> Looking at code, it looks like "connection string", is not expecting any password and will prompt for one. May well possibly a bug.
No, it's a security "feature". Using passwords on the command line is
a bad idea as other users can see it in ps output etc. Use a
PGPASSFILE instead.
--
Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake
EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company