Re: INSERT/DEFAULT VALUES broken?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Thomas Lockhart <lockhart(at)alumni(dot)caltech(dot)edu>
Cc: Postgres Hackers List <hackers(at)postgresql(dot)org>
Subject: Re: INSERT/DEFAULT VALUES broken?
Date: 1999-09-19 17:25:07
Message-ID: 27919.937761907@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

>>>> insert into <tablename> default values;

>> It bombs for me too, so I suspect you are right that I broke it when
>> I rearranged the analysis of INSERT. It's probably a minor oversight
>> someplace in there.

Nope, not a parser problem at all; rewriter brain damage. It's been
broken at least since 6.4, but only if you do INSERT ... DEFAULT VALUES
into a table that has no columns with default values, and only if you
have Asserts turned on (so the average user wouldn't see it anyway).
Fix is to dike out incorrect Assert...

regards, tom lane

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 1999-09-19 17:34:09 Re: [HACKERS] All things equal, we are still alot slower then MySQL?
Previous Message Mike Mascari 1999-09-19 17:21:46 Re: [HACKERS] [6.5.2] join problems ...