8000 doc: Fix more typos · eldilibra/postgres@b94906f · GitHub
[go: up one dir, main page]

Skip to content

Commit b94906f

Browse files
committed
doc: Fix more typos
From: Alexander Law <exclusion@gmail.com>
1 parent acf9134 commit b94906f

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

doc/src/sgml/ecpg.sgml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6172,7 +6172,7 @@ cc -c test_mod.c -o test_mod.o
61726172

61736173
<para>
61746174
Next, generate <filename>test_cpp.o</> by compiling
6175-
<filename>test_cpp.cpp</> with the C++ compiler:.
6175+
<filename>test_cpp.cpp</> with the C++ compiler:
61766176
<programlisting>
61776177
c++ -c test_cpp.cpp -o test_cpp.o
61786178
</programlisting>
@@ -6278,9 +6278,9 @@ EXEC SQL ALLOCATE DESCRIPTOR mydesc;
62786278

62796279
<refsynopsisdiv>
62806280
<synopsis>
6281-
CONNECT TO <replaceable>connection_target</replaceable> [ AS <replaceable>connection_name</replaceable> ] [ USER <replaceable>connection_user_name</replaceable> ]
6281+
CONNECT TO <replaceable>connection_target</replaceable> [ AS <replaceable>connection_name</replaceable> ] [ USER <replaceable>connection_user</replaceable> ]
62826282
CONNECT TO DEFAULT
6283-
CONNECT <replaceable>connection_user_name</replaceable>
6283+
CONNECT <replaceable>connection_user</replaceable>
62846284
DATABASE <replaceable>connection_target</replaceable>
62856285
</synopsis>
62866286
</refsynopsisdiv>
@@ -7812,7 +7812,7 @@ main(void)
78127812
this mode is active, it tries to behave as if it were the <productname>Informix</productname>
78137813
precompiler for <productname>Informix</productname> E/SQL. Generally spoken this will allow you to use
78147814
the dollar sign instead of the <literal>EXEC SQL</> primitive to introduce
7815-
embedded SQL commands.:
7815+
embedded SQL commands:
78167816
<programlisting>
78177817
$int j = 3;
78187818
$CONNECT TO :dbname;
@@ -7884,7 +7884,7 @@ EXEC SQL FETCH MYCUR INTO :userid;
78847884
<listitem>
78857885
<para>
78867886
This statement closes the current connection. In fact, this is a
7887-
synonym for ECPG's <literal>DISCONNECT CURRENT</>.:
7887+
synonym for ECPG's <literal>DISCONNECT CURRENT</>:
78887888
<programlisting>
78897889
$CLOSE DATABASE; /* close the current connection */
78907890
EXEC SQL CLOSE DATABASE;

0 commit comments

Comments
 (0)
0