pg.ddx.io pgsql-admin@postgresql.org mailing list archive
help / color / mirror / Atom feedpg_dump does not dump index, constraints, sequences
3+ messages / 2 participants
[nested] [flat]
* pg_dump does not dump index, constraints, sequences
@ 2003-08-19 22:05 Adi Alurkar <adi@vasoftware.com>
2003-08-21 14:28 ` Re: pg_dump does not dump index, constraints, sequences Tom Lane <tgl@sss.pgh.pa.us>
0 siblings, 1 reply; 3+ messages in thread
From: Adi Alurkar @ 2003-08-19 22:05 UTC (permalink / raw)
To: pgsql-admin
Greetings
i am trying to export the schema for a database, in PG 7.2 running
pg_dump -s would extract the schema, but in Pg 7.3.4 pg_dump -s
extracts only the table definitions and does not extract the index,
sequence, constraint info, how do i extract all of this information from
the DB.
Appreciate all the help. thank you
--
Adi Alurkar (DBA sf.NET) <adi@vasoftware.com>
1024D/79730470 A491 5724 74DE 956D 06CB D844 6DF1 B972 7973 0470
Attachments:
signature.asc (application/pgp-signature, 188B) download
^ permalink raw reply [nested|flat] 3+ messages in thread
* Re: pg_dump does not dump index, constraints, sequences
2003-08-19 22:05 pg_dump does not dump index, constraints, sequences Adi Alurkar <adi@vasoftware.com>
@ 2003-08-21 14:28 ` Tom Lane <tgl@sss.pgh.pa.us>
2003-08-21 18:02 ` Re: pg_dump does not dump index, constraints, sequences Adi Alurkar <adi@vasoftware.com>
0 siblings, 1 reply; 3+ messages in thread
From: Tom Lane @ 2003-08-21 14:28 UTC (permalink / raw)
To: Adi Alurkar <adi@vasoftware.com>; +Cc: pgsql-admin
Adi Alurkar <adi@vasoftware.com> writes:
> i am trying to export the schema for a database, in PG 7.2 running
> pg_dump -s would extract the schema, but in Pg 7.3.4 pg_dump -s
> extracts only the table definitions and does not extract the index,
> sequence, constraint info,
Sure it does. You'd better give a more detailed explanation of your
problem.
regards, tom lane
^ permalink raw reply [nested|flat] 3+ messages in thread
* Re: pg_dump does not dump index, constraints, sequences
2003-08-19 22:05 pg_dump does not dump index, constraints, sequences Adi Alurkar <adi@vasoftware.com>
2003-08-21 14:28 ` Re: pg_dump does not dump index, constraints, sequences Tom Lane <tgl@sss.pgh.pa.us>
@ 2003-08-21 18:02 ` Adi Alurkar <adi@vasoftware.com>
0 siblings, 0 replies; 3+ messages in thread
From: Adi Alurkar @ 2003-08-21 18:02 UTC (permalink / raw)
To: Tom Lane <tgl@sss.pgh.pa.us>; +Cc: pgsql-admin
I have this problem only on ONE DB and not the others so it seems more
like an issue only with the pg_dump on that machine, sorry about this.
I also noticed that pg_dump -n is no longer supported is there any way
to dump data without quotes in PG 7.3.4?
On Thu, 2003-08-21 at 07:28, Tom Lane wrote:
> Adi Alurkar <adi@vasoftware.com> writes:
> > i am trying to export the schema for a database, in PG 7.2 running
> > pg_dump -s would extract the schema, but in Pg 7.3.4 pg_dump -s
> > extracts only the table definitions and does not extract the index,
> > sequence, constraint info,
>
> Sure it does. You'd better give a more detailed explanation of your
> problem.
>
> regards, tom lane
--
Adi Alurkar (DBA sf.NET) <adi@vasoftware.com>
1024D/79730470 A491 5724 74DE 956D 06CB D844 6DF1 B972 7973 0470
Attachments:
signature.asc (application/pgp-signature, 188B) download
^ permalink raw reply [nested|flat] 3+ messages in thread
end of thread, other threads:[~2003-08-21 18:02 UTC | newest]
Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2003-08-19 22:05 pg_dump does not dump index, constraints, sequences Adi Alurkar <adi@vasoftware.com>
2003-08-21 14:28 ` Tom Lane <tgl@sss.pgh.pa.us>
2003-08-21 18:02 ` Adi Alurkar <adi@vasoftware.com>
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