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

Commit56792f3

Browse files
author
Thomas G. Lockhart
committed
Allow TIMESTAMP as a column name or general identifier.
timestamp had become a token a while ago, but had been omitted from the keywords.c until recently. This uncovered the omission in the ColId decl.
1 parentacc9c38 commit56792f3

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

‎src/backend/parser/gram.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@
229229
*
230230
*
231231
* IDENTIFICATION
232-
* $Header: /cvsroot/pgsql/src/backend/parser/Attic/gram.c,v 2.45 1998/10/13 17:26:41 scrappy Exp $
232+
* $Header: /cvsroot/pgsql/src/backend/parser/Attic/gram.c,v 2.46 1998/10/14 15:57:25 thomas Exp $
233233
*
234234
* HISTORY
235235
* AUTHORDATEMAJOR EVENT

‎src/backend/parser/gram.y

Lines changed: 2 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.36 1998/10/09 07:06:17 thomas Exp $
13+
* $Header: /cvsroot/pgsql/src/backend/parser/gram.y,v 2.37 1998/10/14 15:56:43 thomas Exp $
1414
*
1515
* HISTORY
1616
* AUTHORDATEMAJOR EVENT
@@ -4698,6 +4698,7 @@ ColId: IDENT{ $$ = $1; }
46984698
| STDIN{ $$ = "stdin"; }
46994699
| STDOUT{ $$ = "stdout"; }
47004700
| TIME{ $$ = "time"; }
4701+
| TIMESTAMP{ $$ = "timestamp"; }
47014702
| TIMEZONE_HOUR{ $$ = "timezone_hour"; }
47024703
| TIMEZONE_MINUTE{ $$ = "timezone_minute"; }
47034704
| TRIGGER{ $$ = "trigger"; }

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp