alter table questions - Mailing list pgsql-general

From mike
Subject alter table questions
Date
Msg-id 001801c0cc02$c77ec9f0$0100000a@Domain.wyd2002.org
Whole thread Raw
Responses Re: alter table questions
List pgsql-general
in the current postgres docs alter table is as follows to add a column,
 
ALTER TABLE distributors ADD COLUMN address VARCHAR(30);
why is it when I add a column with a defualt value the default value is ignored?

ALTER TABLE ind_personal ADD COLUMN reg_security CHAR(3) NOT NULL DEFAULT '0';

Mike  

pgsql-general by date:

Previous
From: Sebastian Bossung
Date:
Subject: Detecting locks
Next
From: Peter T Mount
Date:
Subject: Re: 7.1 RPM has old JDBC driver - SQL statement too long