Re: Pg_dump options

From: Dmitry Alyabyev <dimitry(at)al(dot)org(dot)ua>
To: Gurudutt <guru(at)indvalley(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Pg_dump options
Date: 2002-01-29 07:40:06
Message-ID: 72135813276.20020129094006@al.org.ua
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Tuesday, January 29, 2002, 7:34:17 AM, Gurudutt wrote:

> Hello Troy,

> You could use one of these things to get it working..

> Create one txt file, input the username and password in different
> lines like

> Username
> Password

> save the file(user.txt)...

> Give this file as input to the pg_dump it should work

> pg_dump dummy_db < user.txt > /tmp/dummy_db.sql

> Hope it solves the problem, it worked for me...

yes, it works BUT you will have lines "Username:" and "Password:" in
your dump file. I think better to have these options in pg_dump (like
mysql_dump has) instead of doing this work around.

--
Dimitry

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Gurudutt 2002-01-29 08:27:21 Re: Pg_dump options
Previous Message Lamar Owen 2002-01-29 05:36:06 Re: 7.2 RPMs (Re: [HACKERS] PostgreSQL v7.2rc2 Released)