From 80c3241da707f6dd4434f92bb228167044516af5 Mon Sep 17 00:00:00 2001 From: "Thomas G. Lockhart" Date: Wed, 2 Sep 1998 15:47:30 +0000 Subject: [PATCH] Support CREATE TABLE DEFAULT VALUES statement. --- src/backend/parser/gram.y | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/src/backend/parser/gram.y b/src/backend/parser/gram.y index db6bbab8ea..33bbcbb8d4 100644 --- a/src/backend/parser/gram.y +++ b/src/backend/parser/gram.y @@ -10,7 +10,7 @@ * * * 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 * AUTHOR DATE MAJOR EVENT @@ -2344,6 +2344,17 @@ insert_rest: VALUES '(' res_target_list2 ')' $$->havingClause = NULL; $$->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 from_clause where_clause group_clause having_clause -- 2.40.0