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
4b02f3c4
Commit
4b02f3c4
authored
Aug 25, 2003
by
Michael Meskes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Synced parser and fixed a bug in error output to log file.
parent
048cb1ce
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
16 additions
and
12 deletions
+16
-12
src/interfaces/ecpg/ChangeLog
src/interfaces/ecpg/ChangeLog
+4
-0
src/interfaces/ecpg/ecpglib/error.c
src/interfaces/ecpg/ecpglib/error.c
+2
-2
src/interfaces/ecpg/preproc/preproc.y
src/interfaces/ecpg/preproc/preproc.y
+10
-10
No files found.
src/interfaces/ecpg/ChangeLog
View file @
4b02f3c4
...
...
@@ -1600,6 +1600,10 @@ Fri Aug 1 08:54:02 CEST 2003
- Added some Informix error codes in Informix mode.
- Added just another pgtypeslib function.
Mon Aug 25 13:24:27 CEST 2003
- Synced parser.
- Set ecpg version to 3.0.0
- Set ecpg library to 4.0.0
- Set pgtypes library to 1.0.0
...
...
src/interfaces/ecpg/ecpglib/error.c
View file @
4b02f3c4
/* $Header: /cvsroot/pgsql/src/interfaces/ecpg/ecpglib/error.c,v 1.
8 2003/08/24 18:36:38 petere
Exp $ */
/* $Header: /cvsroot/pgsql/src/interfaces/ecpg/ecpglib/error.c,v 1.
9 2003/08/25 13:43:58 meskes
Exp $ */
#define POSTGRES_ECPG_INTERNAL
#include "postgres_fe.h"
...
...
@@ -192,7 +192,7 @@ ECPGraise_backend(int line, PGresult *result, PGconn *conn, int compat)
sqlca
->
sqlcode
=
ECPG_PGSQL
;
ECPGlog
(
"raising sqlstate %.*s in line %d, '%s'.
\n
"
,
s
qlca
->
sqlstate
,
sizeof
(
sqlca
->
sqlstate
)
,
line
,
sqlca
->
sqlerrm
.
sqlerrmc
);
s
izeof
(
sqlca
->
sqlstate
),
sqlca
->
sqlstate
,
line
,
sqlca
->
sqlerrm
.
sqlerrmc
);
/* free all memory we have allocated for the user */
ECPGfree_auto_mem
();
...
...
src/interfaces/ecpg/preproc/preproc.y
View file @
4b02f3c4
/* $Header: /cvsroot/pgsql/src/interfaces/ecpg/preproc/Attic/preproc.y,v 1.25
1 2003/08/06 15:54:06 tgl
Exp $ */
/* $Header: /cvsroot/pgsql/src/interfaces/ecpg/preproc/Attic/preproc.y,v 1.25
2 2003/08/25 13:44:00 meskes
Exp $ */
/* Copyright comment */
%{
...
...
@@ -420,7 +420,7 @@ adjust_informix(struct arguments *list)
%type <str> row_descriptor ConstDatetime AlterDomainStmt AlterSeqStmt
%type <str> SelectStmt into_clause OptTemp ConstraintAttributeSpec
%type <str> opt_table opt_all sort_clause sortby_list ConstraintAttr
%type <str> sortby
OptUseOp
qualified_name_list name_list ColId_or_Sconst
%type <str> sortby qualified_name_list name_list ColId_or_Sconst
%type <str> group_clause having_clause from_clause opt_distinct opt_hold
%type <str> join_outer where_clause relation_expr sub_type opt_arg
%type <str> opt_column_list insert_rest InsertStmt
...
...
@@ -2887,14 +2887,14 @@ sortby_list: sortby { $$ = $1; }
| sortby_list ',' sortby { $$ = cat_str(3, $1, make_str(","), $3); }
;
sortby: a_expr
OptUse
Op
{ $$ = cat
2_str($1, $2
); }
;
OptUseOp: USING all_Op { $$ = cat2_str(make_str("using"), $2); }
| ASC { $$ = make_str("asc"
); }
|
DESC { $$ = make_str("desc"); }
| /*EMPTY*/ { $$ = EMPTY
; }
sortby: a_expr
USING qual_all_
Op
{ $$ = cat
_str(3, $1, make_str("using"), $3
); }
| a_expr ASC
{ $$ = cat2_str($1, make_str("asc")); }
| a_expr DESC
{ $$ = cat2_str($1, make_str("desc")
); }
|
a_expr
{ $$ = $1
; }
;
select_limit: LIMIT select_limit_value OFFSET select_offset_value
...
...
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