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
965a0a40
Commit
965a0a40
authored
Oct 12, 2000
by
Michael Meskes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Replace constants by C variables wherever possible.
parent
5bcc226d
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
115 additions
and
130 deletions
+115
-130
src/interfaces/ecpg/ChangeLog
src/interfaces/ecpg/ChangeLog
+5
-0
src/interfaces/ecpg/preproc/preproc.y
src/interfaces/ecpg/preproc/preproc.y
+105
-128
src/interfaces/ecpg/test/test3.pgc
src/interfaces/ecpg/test/test3.pgc
+5
-2
No files found.
src/interfaces/ecpg/ChangeLog
View file @
965a0a40
...
...
@@ -960,5 +960,10 @@ Wed Oct 4 14:36:51 CEST 2000
Wed Oct 11 16:49:36 CEST 2000
- Synced preproc.y with gram.y.
Thu Oct 12 20:13:00 CEST 2000
- Changed parser to accept a variable instead of a constant wherever
possible.
- Set ecpg version to 2.8.0.
- Set library version to 3.2.0.
src/interfaces/ecpg/preproc/preproc.y
View file @
965a0a40
This diff is collapsed.
Click to expand it.
src/interfaces/ecpg/test/test3.pgc
View file @
965a0a40
...
...
@@ -18,7 +18,7 @@ exec sql begin declare section;
birthinfo ind_birth;
} ind_personal;
int *ind_married = NULL;
int children;
int children
, movevalue = 2
;
int ind_children;
str *married = NULL;
char *wifesname="Petra";
...
...
@@ -53,8 +53,11 @@ exec sql end declare section;
strcpy(msg, "open");
exec sql open cur;
exec sql whenever not found do break;
strcpy(msg, "move");
exec sql move :movevalue in cur;
exec sql whenever not found do break;
while (1) {
strcpy(msg, "fetch");
exec sql fetch from cur into :personal:ind_personal, :married:ind_married, :children:ind_children;
...
...
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