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
50450049
Commit
50450049
authored
Oct 18, 2001
by
Michael Meskes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added Lee Kindness' patches.
parent
f8bcf12e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
22 additions
and
13 deletions
+22
-13
src/interfaces/ecpg/ChangeLog
src/interfaces/ecpg/ChangeLog
+5
-0
src/interfaces/ecpg/preproc/preproc.y
src/interfaces/ecpg/preproc/preproc.y
+17
-13
No files found.
src/interfaces/ecpg/ChangeLog
View file @
50450049
...
...
@@ -1129,5 +1129,10 @@ Sun Oct 14 14:07:59 CEST 2001
- Fixed GRANT statement.
- Synced preproc.y with gram.y.
Thu Oct 18 12:57:04 CEST 2001
- Added patch by Lee Kindness <lkindness@csl.co.uk> fixing several
bugs.
- Set ecpg version to 2.9.0.
- Set library version to 3.3.0.
src/interfaces/ecpg/preproc/preproc.y
View file @
50450049
...
...
@@ -1074,11 +1074,11 @@ OptTemp: TEMPORARY { $$ = make_str("temporary"); }
| LOCAL TEMPORARY { $$ = make_str("local temporary"); }
| LOCAL TEMP { $$ = make_str("local temp"); }
| GLOBAL TEMPORARY {
mmerror(ET_
ERROR, "GLOBAL TEMPORARY TABLE is not currently supporte
d");
mmerror(ET_
NOTICE, "Currently unsupported CREATE TABLE/GLOBAL TEMPORARY will be passed to backen
d");
$$ = make_str("global temporary");
}
| GLOBAL TEMP {
mmerror(ET_
ERROR, "GLOBAL TEMPORARY TABLE is not currently supporte
d");
mmerror(ET_
NOTICE, "Currently unsupported CREATE TABLE/GLOBAL TEMP will be passed to backen
d");
$$ = make_str("global temp");
}
| /*EMPTY*/ { $$ = EMPTY; }
...
...
@@ -1103,8 +1103,8 @@ columnDef: ColId Typename ColQualList opt_collate
{
if (strlen($4) > 0)
{
sprintf(errortext, "CREATE TABLE/COLLATE %s not yet implemented; clause ignore
d", $4);
mmerror(ET_NOTICE, errortext);
sprintf(errortext, "Currently unsupported CREATE TABLE/COLLATE %s will be passed to backen
d", $4);
mmerror(ET_NOTICE, errortext);
}
$$ = cat_str(4, $1, $2, $3, $4);
}
...
...
@@ -1219,7 +1219,7 @@ key_match: MATCH FULL
}
| MATCH PARTIAL
{
mmerror(ET_NOTICE, "
FOREIGN KEY/MATCH PARTIAL not yet implemente
d");
mmerror(ET_NOTICE, "
Currently unsupported FOREIGN KEY/MATCH PARTIAL will be passed to backen
d");
$$ = make_str("match partial");
}
| /*EMPTY*/
...
...
@@ -1614,7 +1614,7 @@ direction: FORWARD { $$ = make_str("forward"); }
| BACKWARD { $$ = make_str("backward"); }
| RELATIVE { $$ = make_str("relative"); }
| ABSOLUTE {
mmerror(ET_NOTICE, "
FETCH/ABSOLUTE not supporte
d, backend will use RELATIVE");
mmerror(ET_NOTICE, "
Currently unsupported FETCH/ABSOLUTE will be passed to backen
d, backend will use RELATIVE");
$$ = make_str("absolute");
}
;
...
...
@@ -1769,7 +1769,11 @@ grantee_list: grantee { $$ = $1; }
| grantee_list ',' grantee { $$ = cat_str(3, $1, make_str(","), $3); }
;
opt_with_grant: WITH GRANT OPTION { $$ = make_str("with grant option"); }
opt_with_grant: WITH GRANT OPTION
{
mmerror(ET_NOTICE, "Currently unsupported GRANT/WITH GRANT OPTION will be passed to backend");
$$ = make_str("with grant option");
}
| /*EMPTY*/ { $$ = EMPTY; }
;
...
...
@@ -1919,14 +1923,14 @@ func_arg: opt_arg func_type
opt_arg: IN { $$ = make_str("in"); }
| OUT {
mmerror(ET_
ERROR, "CREATE FUNCTION/OUT parameters are not supporte
d");
mmerror(ET_
NOTICE, "Currently unsupported CREATE FUNCTION/OUT will be passed to backen
d");
$$ = make_str("out");
}
| INOUT {
mmerror(ET_
ERROR, "CREATE FUNCTION/INOUT parameters are not supporte
d");
mmerror(ET_
NOTICE, "Currently unsupported CREATE FUNCTION/INOUT will be passed to backen
d");
$$ = make_str("
oin
ut");
$$ = make_str("
ino
ut");
}
;
...
...
@@ -2164,7 +2168,7 @@ opt_trans: WORK { $$ = ""; }
opt_chain: AND NO CHAIN { $$ = make_str("and no chain"); }
| AND CHAIN {
mmerror(ET_
ERROR, "COMMIT/CHAIN not yet supporte
d");
mmerror(ET_
NOTICE, "Currently unsupported COMMIT/CHAIN will be passed to backen
d");
$$ = make_str("and chain");
}
...
...
@@ -2609,12 +2613,12 @@ OptTempTableName: TEMPORARY opt_table relation_name
}
| GLOBAL TEMPORARY opt_table relation_name
{
mmerror(ET_
ERROR, "GLOBAL TEMPORARY TABLE is not currently supporte
d");
mmerror(ET_
NOTICE, "Currently unsupported CREATE TABLE/GLOBAL TEMPORARY will be passed to backen
d");
$$ = cat_str(3, make_str("global temporary"), $3, $4);
}
| GLOBAL TEMP opt_table relation_name
{
mmerror(ET_
ERROR, "GLOBAL TEMPORARY TABLE is not currently supporte
d");
mmerror(ET_
NOTICE, "Currently unsupported CREATE TABLE/GLOBAL TEMP will be passed to backen
d");
$$ = cat_str(3, make_str("global temp"), $3, $4);
}
| TABLE relation_name
...
...
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