Re: alter table add column implementation undesirable? - Mailing list pgsql-sql

From Tom Lane
Subject Re: alter table add column implementation undesirable?
Date
Msg-id 6327.973783883@sss.pgh.pa.us
Whole thread Raw
In response to alter table add column implementation undesirable?  (Forest Wilkinson <fspam@home.com>)
List pgsql-sql
Forest Wilkinson <fspam@home.com> writes:
> A coworker told me that the postgres implementation of ALTER TABLE ADD
> COLUMN creates an inefficient database.

Dunno where he got that idea.

There are some problems lurking in ADD COLUMN when used on a table with
inheritance children --- the new column is added to the children too, as
it should be, but in an unexpected column position, which causes trouble
for pg_dump (a dump and reload will do the wrong thing).  Perhaps what
you heard is a garbled report of that issue.
        regards, tom lane


pgsql-sql by date:

Previous
From:
Date:
Subject: shared memory blocks?
Next
From: "Poul L. Christiansen"
Date:
Subject: Re: shared memory blocks?