For the TODO list - Mailing list pgsql-hackers

From Constantin Teodorescu
Subject For the TODO list
Date
Msg-id 36714CD1.1B02A9D6@flex.ro
Whole thread Raw
Responses Re: [HACKERS] For the TODO list
Re: For the TODO list
List pgsql-hackers
Maybe you could include on the TODO list the following bug 



Alter table add column doesn't save defaults options :

test=> create table students (id int4, name text);
CREATE
test=> insert into students values (1,'bill');
INSERT 39338 1
test=> alter table students add column age int2 default 20;
ADD
test=> insert into students values (2,'tom');
INSERT 39340 1
test=> select * from students;
id|name|age
--+----+---1|bill|2|tom |
(2 rows)

The default for age does not work !


Constantin Teodorescu
FLEX Consulting Braila, ROMANIA


pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: [HACKERS] lock table
Next
From: Tom Lane
Date:
Subject: Re: [HACKERS] Sigh, build is broken again