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
2fab6168
Commit
2fab6168
authored
Sep 09, 2003
by
Michael Meskes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed a few bugs that came up on pgsql-interfaces.
parent
5cdf771d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
5 deletions
+6
-5
doc/src/sgml/ecpg.sgml
doc/src/sgml/ecpg.sgml
+6
-5
No files found.
doc/src/sgml/ecpg.sgml
View file @
2fab6168
<!--
<!--
$Header: /cvsroot/pgsql/doc/src/sgml/ecpg.sgml,v 1.
49 2003/08/31 17:32:18 petere
Exp $
$Header: /cvsroot/pgsql/doc/src/sgml/ecpg.sgml,v 1.
50 2003/09/09 10:54:44 meskes
Exp $
-->
-->
<chapter id="ecpg">
<chapter id="ecpg">
...
@@ -296,6 +296,7 @@ EXEC SQL SELECT foo INTO :FooBar FROM table1 WHERE ascii = 'doodad';
...
@@ -296,6 +296,7 @@ EXEC SQL SELECT foo INTO :FooBar FROM table1 WHERE ascii = 'doodad';
EXEC SQL DECLARE foo_bar CURSOR FOR
EXEC SQL DECLARE foo_bar CURSOR FOR
SELECT number, ascii FROM foo
SELECT number, ascii FROM foo
ORDER BY ascii;
ORDER BY ascii;
EXEC SQL OPEN foo_bar;
EXEC SQL FETCH foo_bar INTO :FooBar, DooDad;
EXEC SQL FETCH foo_bar INTO :FooBar, DooDad;
...
...
EXEC SQL CLOSE foo_bar;
EXEC SQL CLOSE foo_bar;
...
@@ -450,8 +451,8 @@ char foo[16], bar[16];
...
@@ -450,8 +451,8 @@ char foo[16], bar[16];
</para>
</para>
<para>
<para>
The special type
s <type>VARCHAR</type> and <type>VARCHAR2</type>
The special type
<type>VARCHAR</type>
are
converted into a named <type>struct</> for every variable. A
is
converted into a named <type>struct</> for every variable. A
declaration like
declaration like
<programlisting>
<programlisting>
VARCHAR var[180];
VARCHAR var[180];
...
@@ -1787,8 +1788,8 @@ ECPG = ecpg
...
@@ -1787,8 +1788,8 @@ ECPG = ecpg
EXEC SQL OPEN <replaceable>cursor</replaceable>;
EXEC SQL OPEN <replaceable>cursor</replaceable>;
</programlisting>
</programlisting>
is not copied to the output. Instead, the cursor's
is not copied to the output. Instead, the cursor's
<command>DECLARE</> command is used
because it opens the cursor as
<command>DECLARE</> command is used
at the position of the <command>OPEN</> command
well
.
because it indeed opens the cursor
.
</para>
</para>
<para>
<para>
...
...
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