Re: Procedure for adding a column

From: david_shadovitz(at)xontech(dot)com (David Shadovitz)
To: pgsql-general(at)postgresql(dot)org
Subject: Re: Procedure for adding a column
Date: 2003-10-20 22:33:38
Message-ID: 8b37e2e5.0310201433.50af781@posting.google.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

By "quite a long time" I meant at least a few hours.
-David

ron(dot)l(dot)johnson(at)cox(dot)net (Ron Johnson) wrote in message news:<1065896503(dot)24193(dot)53(dot)camel(at)haggis>...
> On Thu, 2003-10-09 at 11:05, David Shadovitz wrote:
> > I need to add a column to a table. This table holds several thousand
> > records, has several indexes, and serves as the parent table to a few
> > child tables.
> >
> > When I've done this in the past, it has taken quite a long time for
> > the ALTER TABLE command to complete.
> >
> > So, what is the correct procedure for adding a column? Drop the
> > indexes, add the column, and recreate the indexes?
>
> Can you be more explicit about "quite a long time".
>
> -----------------------------------------------------------------
> Ron Johnson, Jr. ron(dot)l(dot)johnson(at)cox(dot)net
> Jefferson, LA USA

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Unihost Web Hosting 2003-10-20 22:45:14 Re: Recomended FS
Previous Message Peter Eisentraut 2003-10-20 22:03:33 Re: Recomended FS