diff options
author | Peter Eisentraut <peter_e@gmx.net> | 2016-05-04 14:07:00 -0400 |
---|---|---|
committer | Peter Eisentraut <peter_e@gmx.net> | 2016-05-04 14:07:19 -0400 |
commit | db5999a92755289bd97990f9a081a6d73f4f2015 (patch) | |
tree | 7967f25b1d16b072ffa57e2d76a4eef7d6619948 | |
parent | e301d52941fa39b60ffea79dc67f8da6d340c1e8 (diff) | |
download | postgresql-db5999a92755289bd97990f9a081a6d73f4f2015.tar.gz postgresql-db5999a92755289bd97990f9a081a6d73f4f2015.zip |
doc: Fix more typos
From: Alexander Law <exclusion@gmail.com>
-rw-r--r-- | doc/src/sgml/ecpg.sgml | 10 | ||||
-rw-r--r-- | doc/src/sgml/pg_xlogdump.sgml | 2 |
2 files changed, 6 insertions, 6 deletions
diff --git a/doc/src/sgml/ecpg.sgml b/doc/src/sgml/ecpg.sgml index 293fc22c1fd..d8dd031e493 100644 --- a/doc/src/sgml/ecpg.sgml +++ b/doc/src/sgml/ecpg.sgml @@ -6190,7 +6190,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> @@ -6296,9 +6296,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> @@ -7830,7 +7830,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; @@ -7902,7 +7902,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; diff --git a/doc/src/sgml/pg_xlogdump.sgml b/doc/src/sgml/pg_xlogdump.sgml index 1d1a2cea870..3f13da2b1a0 100644 --- a/doc/src/sgml/pg_xlogdump.sgml +++ b/doc/src/sgml/pg_xlogdump.sgml @@ -149,7 +149,7 @@ PostgreSQL documentation <varlistentry> <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> <para> Timeline from which to read log records. The default is to use the |