pg_dump, schemas and 7.4/7.3 - Mailing list pgsql-hackers

From Richard Huxton
Subject pg_dump, schemas and 7.4/7.3
Date
Msg-id 200306252311.11703.dev@archonet.com
Whole thread Raw
List pgsql-hackers
I'd really like to be able to dump a single schema from 7.3 for a current
project.

Now I can write a script to run \dt and then "pg_dump -t" each table, but
that's not going to help me with sequences etc.

Of course, in 7.4 pg_dump will do exactly what I want, which seems to give me
two options:

1. Use 7.4 pg_dump to dump my 7.3 schema
2. Back-port pg_dump from 7.4 to 7.3

The questions are: will (1) work, or is (2) a viable option for someone who
hasn't coded C for 10+years?

TIA
--  Richard Huxton


pgsql-hackers by date:

Previous
From: Michael A Nachbaur
Date:
Subject: Re: RServ patch to support multiple slaves (sorta)
Next
From: Tom Lane
Date:
Subject: Re: Updating psql for features of new FE/BE protocol