Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit2fab616

Browse files
author
Michael Meskes
committed
Fixed a few bugs that came up on pgsql-interfaces.
1 parent5cdf771 commit2fab616

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

‎doc/src/sgml/ecpg.sgml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!--
2-
$Header: /cvsroot/pgsql/doc/src/sgml/ecpg.sgml,v 1.49 2003/08/31 17:32:18 petere Exp $
2+
$Header: /cvsroot/pgsql/doc/src/sgml/ecpg.sgml,v 1.50 2003/09/09 10:54:44 meskes Exp $
33
-->
44

55
<chapter id="ecpg">
@@ -296,6 +296,7 @@ EXEC SQL SELECT foo INTO :FooBar FROM table1 WHERE ascii = 'doodad';
296296
EXEC SQL DECLARE foo_bar CURSOR FOR
297297
SELECT number, ascii FROM foo
298298
ORDER BY ascii;
299+
EXEC SQL OPEN foo_bar;
299300
EXEC SQL FETCH foo_bar INTO :FooBar, DooDad;
300301
...
301302
EXEC SQL CLOSE foo_bar;
@@ -450,8 +451,8 @@ char foo[16], bar[16];
450451
</para>
451452

452453
<para>
453-
The specialtypes <type>VARCHAR</type>and <type>VARCHAR2</type>
454-
are converted into a named <type>struct</> for every variable. A
454+
The specialtype <type>VARCHAR</type>
455+
is converted into a named <type>struct</> for every variable. A
455456
declaration like
456457
<programlisting>
457458
VARCHAR var[180];
@@ -1787,8 +1788,8 @@ ECPG = ecpg
17871788
EXEC SQL OPEN <replaceable>cursor</replaceable>;
17881789
</programlisting>
17891790
is not copied to the output. Instead, the cursor's
1790-
<command>DECLARE</> command is usedbecause it opensthecursor as
1791-
well.
1791+
<command>DECLARE</> command is usedat the position ofthe<command>OPEN</> command
1792+
because it indeed opens the cursor.
17921793
</para>
17931794

17941795
<para>

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp