Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Postgres FD Implementation
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Abuhujair Javed
Postgres FD Implementation
Commits
fb2ebae4
Commit
fb2ebae4
authored
Mar 08, 2009
by
Alvaro Herrera
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add comments about kwlookup.c expectations
parent
c3b5d2f1
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
10 additions
and
7 deletions
+10
-7
src/backend/parser/keywords.c
src/backend/parser/keywords.c
+2
-2
src/backend/parser/kwlookup.c
src/backend/parser/kwlookup.c
+4
-1
src/bin/pg_dump/keywords.c
src/bin/pg_dump/keywords.c
+2
-2
src/interfaces/ecpg/preproc/keywords.c
src/interfaces/ecpg/preproc/keywords.c
+2
-2
No files found.
src/backend/parser/keywords.c
View file @
fb2ebae4
...
@@ -9,7 +9,7 @@
...
@@ -9,7 +9,7 @@
*
*
*
*
* IDENTIFICATION
* IDENTIFICATION
* $PostgreSQL: pgsql/src/backend/parser/keywords.c,v 1.21
1 2009/03/07 00:13:57
alvherre Exp $
* $PostgreSQL: pgsql/src/backend/parser/keywords.c,v 1.21
2 2009/03/08 16:53:30
alvherre Exp $
*
*
*-------------------------------------------------------------------------
*-------------------------------------------------------------------------
*/
*/
...
@@ -27,5 +27,5 @@ const ScanKeyword ScanKeywords[] = {
...
@@ -27,5 +27,5 @@ const ScanKeyword ScanKeywords[] = {
#include "parser/kwlist.h"
#include "parser/kwlist.h"
};
};
/* End of ScanKeywords, for use elsewhere */
/* End of ScanKeywords, for use
in kwlookup.c and
elsewhere */
const
ScanKeyword
*
LastScanKeyword
=
endof
(
ScanKeywords
);
const
ScanKeyword
*
LastScanKeyword
=
endof
(
ScanKeywords
);
src/backend/parser/kwlookup.c
View file @
fb2ebae4
...
@@ -6,12 +6,15 @@
...
@@ -6,12 +6,15 @@
* NB - this file is also used by ECPG and several frontend programs in
* NB - this file is also used by ECPG and several frontend programs in
* src/bin/ including pg_dump and psql
* src/bin/ including pg_dump and psql
*
*
* Note that this file expects that the ScanKeywords array is defined
* and that LastScanKeyword points to its element one past the last.
*
* Portions Copyright (c) 1996-2009, PostgreSQL Global Development Group
* Portions Copyright (c) 1996-2009, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
* Portions Copyright (c) 1994, Regents of the University of California
*
*
*
*
* IDENTIFICATION
* IDENTIFICATION
* $PostgreSQL: pgsql/src/backend/parser/kwlookup.c,v 2.
1 2009/03/07 00:13:58
alvherre Exp $
* $PostgreSQL: pgsql/src/backend/parser/kwlookup.c,v 2.
2 2009/03/08 16:53:30
alvherre Exp $
*
*
*-------------------------------------------------------------------------
*-------------------------------------------------------------------------
*/
*/
...
...
src/bin/pg_dump/keywords.c
View file @
fb2ebae4
...
@@ -9,7 +9,7 @@
...
@@ -9,7 +9,7 @@
*
*
*
*
* IDENTIFICATION
* IDENTIFICATION
* $PostgreSQL: pgsql/src/bin/pg_dump/keywords.c,v 1.
1 2009/03/07 00:13:58
alvherre Exp $
* $PostgreSQL: pgsql/src/bin/pg_dump/keywords.c,v 1.
2 2009/03/08 16:53:30
alvherre Exp $
*
*
*-------------------------------------------------------------------------
*-------------------------------------------------------------------------
*/
*/
...
@@ -27,5 +27,5 @@ const ScanKeyword ScanKeywords[] = {
...
@@ -27,5 +27,5 @@ const ScanKeyword ScanKeywords[] = {
#include "parser/kwlist.h"
#include "parser/kwlist.h"
};
};
/* End of ScanKeywords, for use
elsewhere
*/
/* End of ScanKeywords, for use
in kwlookup.c
*/
const
ScanKeyword
*
LastScanKeyword
=
endof
(
ScanKeywords
);
const
ScanKeyword
*
LastScanKeyword
=
endof
(
ScanKeywords
);
src/interfaces/ecpg/preproc/keywords.c
View file @
fb2ebae4
...
@@ -9,7 +9,7 @@
...
@@ -9,7 +9,7 @@
*
*
*
*
* IDENTIFICATION
* IDENTIFICATION
* $PostgreSQL: pgsql/src/interfaces/ecpg/preproc/keywords.c,v 1.8
7 2009/03/07 00:13:58
alvherre Exp $
* $PostgreSQL: pgsql/src/interfaces/ecpg/preproc/keywords.c,v 1.8
8 2009/03/08 16:53:30
alvherre Exp $
*
*
*-------------------------------------------------------------------------
*-------------------------------------------------------------------------
*/
*/
...
@@ -26,5 +26,5 @@ const ScanKeyword ScanKeywords[] = {
...
@@ -26,5 +26,5 @@ const ScanKeyword ScanKeywords[] = {
#include "parser/kwlist.h"
#include "parser/kwlist.h"
};
};
/* End of ScanKeywords, for use
elsewhere
*/
/* End of ScanKeywords, for use
in kwlookup.c
*/
const
ScanKeyword
*
LastScanKeyword
=
endof
(
ScanKeywords
);
const
ScanKeyword
*
LastScanKeyword
=
endof
(
ScanKeywords
);
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment