aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Eisentraut <peter_e@gmx.net>2016-05-04 14:07:00 -0400
committerPeter Eisentraut <peter_e@gmx.net>2016-05-04 14:08:25 -0400
commitdabd745f3d2a265dff2b6c7621a2959c236c633b (patch)
tree9de6ace44315c1ef4526dfd7ec70ed90368c10d9
parenta1b572bdc78469b7e6a22be1b73e0904383564d6 (diff)
downloadpostgresql-dabd745f3d2a265dff2b6c7621a2959c236c633b.tar.gz
postgresql-dabd745f3d2a265dff2b6c7621a2959c236c633b.zip
doc: Fix more typos
From: Alexander Law <exclusion@gmail.com>
-rw-r--r--doc/src/sgml/ecpg.sgml10
1 files changed, 5 insertions, 5 deletions
diff --git a/doc/src/sgml/ecpg.sgml b/doc/src/sgml/ecpg.sgml
index 1afaefb465c..6a5a7813148 100644
--- a/doc/src/sgml/ecpg.sgml
+++ b/doc/src/sgml/ecpg.sgml
@@ -6179,7 +6179,7 @@ cc -c test_mod.c -o test_mod.o
<para>
Next, generate <filename>test_cpp.o</> by compiling
- <filename>test_cpp.cpp</> with the C++ compiler:.
+ <filename>test_cpp.cpp</> with the C++ compiler:
<programlisting>
c++ -c test_cpp.cpp -o test_cpp.o
</programlisting>
@@ -6285,9 +6285,9 @@ EXEC SQL ALLOCATE DESCRIPTOR mydesc;
<refsynopsisdiv>
<synopsis>
-CONNECT TO <replaceable>connection_target</replaceable> [ AS <replaceable>connection_name</replaceable> ] [ USER <replaceable>connection_user_name</replaceable> ]
+CONNECT TO <replaceable>connection_target</replaceable> [ AS <replaceable>connection_name</replaceable> ] [ USER <replaceable>connection_user</replaceable> ]
CONNECT TO DEFAULT
-CONNECT <replaceable>connection_user_name</replaceable>
+CONNECT <replaceable>connection_user</replaceable>
DATABASE <replaceable>connection_target</replaceable>
</synopsis>
</refsynopsisdiv>
@@ -7819,7 +7819,7 @@ main(void)
this mode is active, it tries to behave as if it were the <productname>Informix</productname>
precompiler for <productname>Informix</productname> E/SQL. Generally spoken this will allow you to use
the dollar sign instead of the <literal>EXEC SQL</> primitive to introduce
- embedded SQL commands.:
+ embedded SQL commands:
<programlisting>
$int j = 3;
$CONNECT TO :dbname;
@@ -7891,7 +7891,7 @@ EXEC SQL FETCH MYCUR INTO :userid;
<listitem>
<para>
This statement closes the current connection. In fact, this is a
- synonym for ECPG's <literal>DISCONNECT CURRENT</>.:
+ synonym for ECPG's <literal>DISCONNECT CURRENT</>:
<programlisting>
$CLOSE DATABASE; /* close the current connection */
EXEC SQL CLOSE DATABASE;