Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit80c3241

Browse files
author
Thomas G. Lockhart
committed
Support CREATE TABLE DEFAULT VALUES statement.
1 parente6c1fba commit80c3241

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

‎src/backend/parser/gram.y

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
*
1111
*
1212
* IDENTIFICATION
13-
* $Header: /cvsroot/pgsql/src/backend/parser/gram.y,v 2.28 1998/09/01 03:24:08 momjian Exp $
13+
* $Header: /cvsroot/pgsql/src/backend/parser/gram.y,v 2.29 1998/09/02 15:47:30 thomas Exp $
1414
*
1515
* HISTORY
1616
* AUTHORDATEMAJOR EVENT
@@ -2344,6 +2344,17 @@ insert_rest: VALUES '(' res_target_list2 ')'
23442344
$$->havingClause = NULL;
23452345
$$->unionClause = NIL;
23462346
}
2347+
| DEFAULT VALUES
2348+
{
2349+
$$ = makeNode(InsertStmt);
2350+
$$->unique = NULL;
2351+
$$->targetList = NIL;
2352+
$$->fromClause = NIL;
2353+
$$->whereClause = NULL;
2354+
$$->groupClause = NIL;
2355+
$$->havingClause = NULL;
2356+
$$->unionClause = NIL;
2357+
}
23472358
| SELECT opt_unique res_target_list2
23482359
from_clause where_clause
23492360
group_clause having_clause

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp