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

Commitfb2ebae

Browse files
committed
Add comments about kwlookup.c expectations
1 parentc3b5d2f commitfb2ebae

File tree

4 files changed

+10
-7
lines changed

4 files changed

+10
-7
lines changed

‎src/backend/parser/keywords.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
*
1010
*
1111
* IDENTIFICATION
12-
* $PostgreSQL: pgsql/src/backend/parser/keywords.c,v 1.211 2009/03/07 00:13:57 alvherre Exp $
12+
* $PostgreSQL: pgsql/src/backend/parser/keywords.c,v 1.212 2009/03/08 16:53:30 alvherre Exp $
1313
*
1414
*-------------------------------------------------------------------------
1515
*/
@@ -27,5 +27,5 @@ const ScanKeyword ScanKeywords[] = {
2727
#include"parser/kwlist.h"
2828
};
2929

30-
/* End of ScanKeywords, for use elsewhere */
30+
/* End of ScanKeywords, for usein kwlookup.c andelsewhere */
3131
constScanKeyword*LastScanKeyword=endof(ScanKeywords);

‎src/backend/parser/kwlookup.c

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,15 @@
66
* NB - this file is also used by ECPG and several frontend programs in
77
* src/bin/ including pg_dump and psql
88
*
9+
* Note that this file expects that the ScanKeywords array is defined
10+
* and that LastScanKeyword points to its element one past the last.
11+
*
912
* Portions Copyright (c) 1996-2009, PostgreSQL Global Development Group
1013
* Portions Copyright (c) 1994, Regents of the University of California
1114
*
1215
*
1316
* IDENTIFICATION
14-
* $PostgreSQL: pgsql/src/backend/parser/kwlookup.c,v 2.1 2009/03/07 00:13:58 alvherre Exp $
17+
* $PostgreSQL: pgsql/src/backend/parser/kwlookup.c,v 2.2 2009/03/08 16:53:30 alvherre Exp $
1518
*
1619
*-------------------------------------------------------------------------
1720
*/

‎src/bin/pg_dump/keywords.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
*
1010
*
1111
* IDENTIFICATION
12-
* $PostgreSQL: pgsql/src/bin/pg_dump/keywords.c,v 1.1 2009/03/07 00:13:58 alvherre Exp $
12+
* $PostgreSQL: pgsql/src/bin/pg_dump/keywords.c,v 1.2 2009/03/08 16:53:30 alvherre Exp $
1313
*
1414
*-------------------------------------------------------------------------
1515
*/
@@ -27,5 +27,5 @@ const ScanKeyword ScanKeywords[] = {
2727
#include"parser/kwlist.h"
2828
};
2929

30-
/* End of ScanKeywords, for useelsewhere */
30+
/* End of ScanKeywords, for usein kwlookup.c */
3131
constScanKeyword*LastScanKeyword=endof(ScanKeywords);

‎src/interfaces/ecpg/preproc/keywords.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
*
1010
*
1111
* IDENTIFICATION
12-
* $PostgreSQL: pgsql/src/interfaces/ecpg/preproc/keywords.c,v 1.87 2009/03/07 00:13:58 alvherre Exp $
12+
* $PostgreSQL: pgsql/src/interfaces/ecpg/preproc/keywords.c,v 1.88 2009/03/08 16:53:30 alvherre Exp $
1313
*
1414
*-------------------------------------------------------------------------
1515
*/
@@ -26,5 +26,5 @@ const ScanKeyword ScanKeywords[] = {
2626
#include"parser/kwlist.h"
2727
};
2828

29-
/* End of ScanKeywords, for useelsewhere */
29+
/* End of ScanKeywords, for usein kwlookup.c */
3030
constScanKeyword*LastScanKeyword=endof(ScanKeywords);

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp