Pg_dump options

From: Troy(dot)Campano(at)LibertyMutual(dot)com
To: pgsql-general(at)postgresql(dot)org
Subject: Pg_dump options
Date: 2002-01-28 19:08:07
Message-ID: 9534B16F750ED2118CF90008C724C4460C22246D@lmig-msg-20.lmig.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Is there a way to supply a username and password in one command using
pg_dump?

For example is it possible to do this so it doesn't prompt you for a
username/password:

pg_dump mydb --username=dbuser --password=dbpass > myfile.out

Thank you!

[:==> Troy Campano <==:]

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Trond Eivind =?iso-8859-1?q?Glomsr=F8d?= 2002-01-28 19:20:24 Re: Postgres 7.1.3 and new kernel
Previous Message Johnson, Shaunn 2002-01-28 18:52:22 Postgres 7.1.3 and new kernel