alter table add column is broken in 6.5

From: "Bryan White" <bryan(at)arcamax(dot)com>
To: <pgsql-general(at)postgreSQL(dot)org>
Subject: alter table add column is broken in 6.5
Date: 1999-07-01 13:07:34
Message-ID: 003301bec3c2$af9fa6a0$22d260d1@arcamax.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

I posted this yesterday and got no response, so I will try again.

Alter table add column does not set the default value for new rows added to
a table. I can except that it does not copy the new default value for
existing rows. That is easy to work around. My problem is that the database
does not reflect the default value for new rows added after the alter
statement.

I could work around this is someone could tell me how to modify the system
tables to specify a default value. This does not seem to be much
documentation for the layout of the system tables.

Bryan White
ArcaMax Inc.
Yorktown VA
www.arcamax.com

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Colin Price (EML) 1999-07-01 13:31:11 RE: [GENERAL] 6.4.2 and 6.5 date usertype difference
Previous Message Chris Bitmead 1999-07-01 12:16:29 Re: [GENERAL] JOIN exclusion problem