From: Vishal Arora <aroravishal22@hotmail.com>
To: Pleyer, Walter <walter.pleyer@lfrz.at>
To: pgsql-admin@postgresql.org <pgsql-admin@postgresql.org>
Subject: Re: Pg_dump and password
Date: Fri, 8 Feb 2008 14:31:07 +0530
Message-ID: <BLU110-W23B74BAA7FA18874BCE22FA92F0@phx.gbl> (raw)
In-Reply-To: <D44E323B81BD474682B45B77837734CE754673DB@svie0135.vie01.local>
References: <D44E323B81BD474682B45B77837734CE754673DB@svie0135.vie01.local>
> From: Walter.Pleyer@lfrz.at> To: pgsql-admin@postgresql.org> Date: Fri, 8 Feb 2008 09:04:46 +0100> Subject: [ADMIN] Pg_dump and password> > Hi Folks!> > Is it possible to call pg_dump not only with -U username but also with the user's password?
Yes you can use -W option along with -U option while calling pg_dump. -W would enforce password prompt, once authenticated it would take the dump.> > Walter> > > > > ---------------------------(end of broadcast)---------------------------> TIP 2: Don't 'kill -9' the postmaster
- Vishal
_________________________________________________________________
Tried the new MSN Messenger? It’s cool! Download now.
http://messenger.msn.com/Download/Default.aspx?mkt=en-in=
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: aroravishal22@hotmail.com, walter.pleyer@lfrz.at
Subject: Re: Pg_dump and password
In-Reply-To: <BLU110-W23B74BAA7FA18874BCE22FA92F0@phx.gbl>
References: <D44E323B81BD474682B45B77837734CE754673DB@svie0135.vie01.local> <BLU110-W23B74BAA7FA18874BCE22FA92F0@phx.gbl>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox