Thanks to visit codestin.com
Credit goes to postgrespro.com

Re: INSERT/DEFAULT VALUES broken? - Mailing list pgsql-hackers

From Thomas Lockhart
Subject Re: INSERT/DEFAULT VALUES broken?
Date
Msg-id [email protected]
Whole thread Raw
In response to Re: INSERT/DEFAULT VALUES broken?  (Tom Lane <[email protected]>)
List pgsql-hackers
> >>>> insert into <tablename> default values;
> 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...

Sorry about that; I usually don't run with Assert enabled, so wouldn't
have caught it earlier. Thanks for looking into it.
                     - Thomas

-- 
Thomas Lockhart                [email protected]
South Pasadena, California


pgsql-hackers by date:

Previous
From: Thomas Lockhart
Date:
Subject: Re: [HACKERS] All things equal, we are still alot slower then MySQL?
Next
From: Vadim Mikheev
Date:
Subject: why do shmem attach?