Connecting Tech Pros Worldwide Help | Site Map

Pg_Dump of schema?

Patrick Hatcher
Guest
 
Posts: n/a
#1: November 12th, 2005, 01:03 AM
Pg: 7.4.

I thought there was supposed to be switch to allow dumping of schema X from
a database in version 7.4? But I don't see one.
Is it still not possible?

TIA
Patrick Hatcher



---------------------------(end of broadcast)---------------------------
TIP 5: Have you checked our extensive FAQ?

http://www.postgresql.org/docs/faqs/FAQ.html

Shridhar Daithankar
Guest
 
Posts: n/a
#2: November 12th, 2005, 01:03 AM

re: Pg_Dump of schema?


Patrick Hatcher wrote:
[color=blue]
> Pg: 7.4.
>
> I thought there was supposed to be switch to allow dumping of schema X from
> a database in version 7.4? But I don't see one.
> Is it still not possible?[/color]

pg_dump --schema does not do it?

http://developer.postgresql.org/docs...pp-pgdump.html

Shridhar


---------------------------(end of broadcast)---------------------------
TIP 3: if posting/reading through Usenet, please send an appropriate
subscribe-nomail command to majordomo@postgresql.org so that your
message can get through to the mailing list cleanly

Patrick Hatcher
Guest
 
Posts: n/a
#3: November 12th, 2005, 01:04 AM

re: Pg_Dump of schema?



Sorry maybe I wasn't clear. Maybe I should have use the word sub-schema.
I have a Development server that contains database DB1 with schemas:
Public, Test_1, Test_2, Test_3

I would like to export schema only Test_3 so that I can import this schema
into my Production database DB1

pg_dump --schema only appears to do the entire database and not just a
particular sub-schema

Thanks again

Patrick Hatcher




Shridhar Daithankar
<shridhar_daithanka
r@myrealbox.com> To
Patrick Hatcher <PHatcher@macys.com>
12/09/2003 01:02 AM cc
pgsql-general@postgresql.org
Subject
Re: [GENERAL] Pg_Dump of schema?










Patrick Hatcher wrote:
[color=blue]
> Pg: 7.4.
>
> I thought there was supposed to be switch to allow dumping of schema X[/color]
from[color=blue]
> a database in version 7.4? But I don't see one.
> Is it still not possible?[/color]

pg_dump --schema does not do it?

http://developer.postgresql.org/docs...pp-pgdump.html

Shridhar





---------------------------(end of broadcast)---------------------------
TIP 1: subscribe and unsubscribe commands go to majordomo@postgresql.org

Closed Thread


Similar Threads
Thread Thread Starter Forum Replies Last Post
pg_dump, pg_restore aktivo answers 0 February 11th, 2008 12:59 PM
pg_dump: what is advantage with schema and data dumps? Anony Mous answers 2 November 23rd, 2005 02:18 AM
pg_dump and schema namespace notes Rory Campbell-Lange answers 6 November 23rd, 2005 01:08 AM
Dump of schema from msde Glenn Davy answers 0 November 12th, 2005 04:02 PM