alter table crashes back end

From: Don Baccus <dhogaza(at)pacifier(dot)com>
To: pgsql-hackers(at)postgreSQL(dot)org
Subject: alter table crashes back end
Date: 1999-12-09 15:54:31
Message-ID: 3.0.1.32.19991209075431.00e56ec0@mail.pacifier.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)pacifier(dot)com>
Nature photos, on-line guides, Pacific Northwest
Rare Bird Alert Service and other goodies at
http://donb.photo.net.

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Don Baccus 1999-12-09 15:57:28 Re: [HACKERS] memory dilemma
Previous Message Don Baccus 1999-12-09 15:44:30 Re: PostgreSQL front ends (was Re: [HACKERS] Parallel regress tests (was Re: FOREIGN KEY andshift/reduce))