pg_dump on one user not whole database

From: Ruth Hsieh <rhsieh(at)lucent(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: pg_dump on one user not whole database
Date: 2003-12-01 20:56:40
Message-ID: 3FCBAB08.6B585899@lucent.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

The postgreSQL release used is 7.3.4. We would like to dump the objects for
particular user. How? I used -U option, the result still dump all the objects
with all the users.

In order to migrate to 7.4, if the users were not created in 7.4 the pg_dump
result will fail or create under wrong user. How to prevent this?

What is different between pg_restore and psql if restore the pg_dump result? I
tried to use pg_restore, but it always fail. However, using psql it work. In
turn of the performance, which one is the faster?

Thanks
--
Ruth Hsieh
Mobility IN, Lucent Technologies

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Jonathan Bartlett 2003-12-01 21:01:11 Re: What is WAL used for?
Previous Message Jan Wieck 2003-12-01 20:55:16 Re: Triggers, Stored Procedures, PHP. was: Re: PostgreSQL