Skip to content
Snippets Groups Projects
Commit 80c3241d authored by Thomas G. Lockhart's avatar Thomas G. Lockhart
Browse files

Support CREATE TABLE DEFAULT VALUES statement.

parent e6c1fbab
No related branches found
No related tags found
No related merge requests found
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
* *
* *
* IDENTIFICATION * IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/parser/gram.y,v 2.28 1998/09/01 03:24:08 momjian Exp $ * $Header: /cvsroot/pgsql/src/backend/parser/gram.y,v 2.29 1998/09/02 15:47:30 thomas Exp $
* *
* HISTORY * HISTORY
* AUTHOR DATE MAJOR EVENT * AUTHOR DATE MAJOR EVENT
...@@ -2344,6 +2344,17 @@ insert_rest: VALUES '(' res_target_list2 ')' ...@@ -2344,6 +2344,17 @@ insert_rest: VALUES '(' res_target_list2 ')'
$$->havingClause = NULL; $$->havingClause = NULL;
$$->unionClause = NIL; $$->unionClause = NIL;
} }
| DEFAULT VALUES
{
$$ = makeNode(InsertStmt);
$$->unique = NULL;
$$->targetList = NIL;
$$->fromClause = NIL;
$$->whereClause = NULL;
$$->groupClause = NIL;
$$->havingClause = NULL;
$$->unionClause = NIL;
}
| SELECT opt_unique res_target_list2 | SELECT opt_unique res_target_list2
from_clause where_clause from_clause where_clause
group_clause having_clause group_clause having_clause
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment