alter table crashes back end - Mailing list pgsql-hackers

From Don Baccus
Subject alter table crashes back end
Date
Msg-id 3.0.1.32.19991209075431.00e56ec0@mail.pacifier.com
Whole thread Raw
In response to Re: [HACKERS] Parallel regress tests (was Re: FOREIGN KEY andshift/reduce)  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: [HACKERS] alter table crashes back end
List pgsql-hackers
As I've mentioned previously, I'm porting over a web toolkit
from Oracle to Postgres.

One portion of the toolkit creates and alters tables to add
user-defined fields into what's being used essentially as a
meta-table (used to later define real tables).  One page
forgets to check for an empty form before issuing its
"alter table" command, and it crashed the backend.  I'm
correcting its forgetfulness, but am also reporting the
problem:

alter table foo add;

gives a parser error, which is fine.

alter table foo add();

crashes the backend.

I'd say it's really low priority, but should be fixed.




- Don Baccus, Portland OR <dhogaza@pacifier.com> Nature photos, on-line guides, Pacific Northwest Rare Bird Alert
Serviceand other goodies at http://donb.photo.net.
 


pgsql-hackers by date:

Previous
From: "Oliver Elphick"
Date:
Subject: Re: [HACKERS] More initdb follies
Next
From: Don Baccus
Date:
Subject: check contraints incorrectly reject "null"