Re: alter table serial->int - Mailing list pgsql-admin

From Erik Aronesty
Subject Re: alter table serial->int
Date
Msg-id ccd588d90711110415n40a61249pbcb67cf5d4c73f0d@mail.gmail.com
Whole thread Raw
In response to Re: alter table serial->int  (Alvaro Herrera <alvherre@commandprompt.com>)
Responses Re: alter table serial->int
List pgsql-admin
CREATE TABLE x (
   a serial NOT NULL
);

alter table x alter a drop default;

alter table x alter a set default 999;

still doesn't help.

i supposed i can dump the whole table and rebuild it.... but that's
going to be a bit slow.

pgsql-admin by date:

Previous
From: Brendan Duddridge
Date:
Subject: Re: shared memory settings on MAC OS X
Next
From: Tom Lane
Date:
Subject: Re: alter table serial->int