Re: BUG #1513: pg_dump -t doesn't include sequences for pre-v8-created tables - Mailing list pgsql-bugs

From Tom Lane
Subject Re: BUG #1513: pg_dump -t doesn't include sequences for pre-v8-created tables
Date
Msg-id 8884.1111703618@sss.pgh.pa.us
Whole thread Raw
In response to BUG #1513: pg_dump -t doesn't include sequences for pre-v8-created tables  ("Chris Hutchinson" <hutchinson.chris@gmail.com>)
List pgsql-bugs
"Chris Hutchinson" <hutchinson.chris@gmail.com> writes:
> pg_dump -t includes SERIAL column sequence details for the dumped table when
> the table has been created in v8 postgresql.

> Tables migrated from an earlier pg version aren't being dumped with their
> sequence details. (These tables were created in 7.1, and migrated through
> 7.3, 7.4 and 8.0)

Yup.  You might try the contrib/adddepend tool to fix this.

            regards, tom lane

pgsql-bugs by date:

Previous
From: Joe Conway
Date:
Subject: Re: BUG #1532: typecast problem between arrays of an int8
Next
From: Tom Lane
Date:
Subject: Re: BUG #1532: typecast problem between arrays of an int8 derived datatype and varchar[]