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

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Chris Hutchinson" <hutchinson(dot)chris(at)gmail(dot)com>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #1513: pg_dump -t doesn't include sequences for pre-v8-created tables
Date: 2005-03-24 22:33:38
Message-ID: 8884.1111703618@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

"Chris Hutchinson" <hutchinson(dot)chris(at)gmail(dot)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

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Tom Lane 2005-03-24 22:40:23 Re: BUG #1532: typecast problem between arrays of an int8 derived datatype and varchar[]
Previous Message Joe Conway 2005-03-24 22:28:47 Re: BUG #1532: typecast problem between arrays of an int8