Vince Vielhaber <[EMAIL PROTECTED]> writes:
> If this:
> alter table foobar add column address varchar(50) default 'none';
> is the incorrect syntax, why does it not fail or at least give a
> warning?
Because it's incompletely implemented: the parser takes the full syntax
but the ALTER TABLE routine doesn't do everything it should.
regards, tom lane
---------------------------(end of broadcast)---------------------------
TIP 1: subscribe and unsubscribe commands go to [EMAIL PROTECTED]
- [BUGS] Alter table add column ignores default pgsql-bugs
- Re: [BUGS] Alter table add column ignores default Nabil Sayegh
- Re: [BUGS] Alter table add column ignores default Nabil Sayegh
- Re: [BUGS] Alter table add column ignores default Vince Vielhaber
- Re: [BUGS] Alter table add column ignores default Vince Vielhaber
- Tom Lane
