Commit 6535bf39 authored by Peter Eisentraut's avatar Peter Eisentraut

doc: Fix more typos

From: Alexander Law <exclusion@gmail.com>
parent 4bbc1a7e
...@@ -6190,7 +6190,7 @@ cc -c test_mod.c -o test_mod.o ...@@ -6190,7 +6190,7 @@ cc -c test_mod.c -o test_mod.o
<para> <para>
Next, generate <filename>test_cpp.o</> by compiling 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> <programlisting>
c++ -c test_cpp.cpp -o test_cpp.o c++ -c test_cpp.cpp -o test_cpp.o
</programlisting> </programlisting>
...@@ -6296,9 +6296,9 @@ EXEC SQL ALLOCATE DESCRIPTOR mydesc; ...@@ -6296,9 +6296,9 @@ EXEC SQL ALLOCATE DESCRIPTOR mydesc;
<refsynopsisdiv> <refsynopsisdiv>
<synopsis> <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 TO DEFAULT
CONNECT <replaceable>connection_user_name</replaceable> CONNECT <replaceable>connection_user</replaceable>
DATABASE <replaceable>connection_target</replaceable> DATABASE <replaceable>connection_target</replaceable>
</synopsis> </synopsis>
</refsynopsisdiv> </refsynopsisdiv>
...@@ -7830,7 +7830,7 @@ main(void) ...@@ -7830,7 +7830,7 @@ main(void)
this mode is active, it tries to behave as if it were the <productname>Informix</productname> 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 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 the dollar sign instead of the <literal>EXEC SQL</> primitive to introduce
embedded SQL commands.: embedded SQL commands:
<programlisting> <programlisting>
$int j = 3; $int j = 3;
$CONNECT TO :dbname; $CONNECT TO :dbname;
...@@ -7902,7 +7902,7 @@ EXEC SQL FETCH MYCUR INTO :userid; ...@@ -7902,7 +7902,7 @@ EXEC SQL FETCH MYCUR INTO :userid;
<listitem> <listitem>
<para> <para>
This statement closes the current connection. In fact, this is a 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> <programlisting>
$CLOSE DATABASE; /* close the current connection */ $CLOSE DATABASE; /* close the current connection */
EXEC SQL CLOSE DATABASE; EXEC SQL CLOSE DATABASE;
......
...@@ -149,7 +149,7 @@ PostgreSQL documentation ...@@ -149,7 +149,7 @@ PostgreSQL documentation
<varlistentry> <varlistentry>
<term><option>-t <replaceable>timeline</replaceable></option></term> <term><option>-t <replaceable>timeline</replaceable></option></term>
<term><option>--timelime=<replaceable>timeline</replaceable></option></term> <term><option>--timeline=<replaceable>timeline</replaceable></option></term>
<listitem> <listitem>
<para> <para>
Timeline from which to read log records. The default is to use the Timeline from which to read log records. The default is to use the
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment