diff options
author | Michael P | 2011-01-27 06:40:34 +0000 |
---|---|---|
committer | Pavan Deolasee | 2011-05-19 17:49:34 +0000 |
commit | 8dfc3fa3d39ae4bd8a068aca3334ed3d47005cf1 (patch) | |
tree | 3a1a925e9fd8396690899e1ec787ef9bf12056b8 /src/include/postgres.h | |
parent | 71c6305686e68324bf376ebf56f0c19226804807 (diff) |
Fix for bug 3147497 INSERT.. DEFAULT VALUES
This fix is linked to tables having no default values defined.
When doing an INSERT.. DEFAULT VALUES, XC was returning an error
at planner level when deparsing the query.
create table aa(a int);
INSERT INTO aa DEFAULT VALUES ;
XC result:
ERROR: syntax error at or near ")"
pg_regress results:
INSERT 0 1
In this fix, when an INSERT using DEFAULT VALUES is made,
query is directly returned.
Patch written by sch19831106 with some editorialization by me.
Diffstat (limited to 'src/include/postgres.h')
0 files changed, 0 insertions, 0 deletions