Re: pg_dump + serial + sequence problem

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Luiz K(dot) Matsumura" <luiz(at)planit(dot)com(dot)br>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: pg_dump + serial + sequence problem
Date: 2007-05-10 17:32:20
Message-ID: 17580.1178818340@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

"Luiz K. Matsumura" <luiz(at)planit(dot)com(dot)br> writes:
> CREATE TABLE teste
> (
> id serial,
> ...
> ALTER TABLE teste ALTER COLUMN id DROP DEFAULT;

This isn't supported before 8.2, since as you found out pg_dump is
unable to reproduce the situation in the database --- the sequence is
still marked as "owned by" the column even though there's no default
anymore. We aren't going to try to fix that behavior in the older
branches.

regards, tom lane

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Luiz K. Matsumura 2007-05-10 17:52:49 Re: pg_dump + serial + sequence problem
Previous Message Luiz K. Matsumura 2007-05-10 17:08:35 pg_dump + serial + sequence problem