From c792440fe0770fb6dfcb478fe70b00c326021f8f Mon Sep 17 00:00:00 2001 From: Peter Eisentraut Date: Wed, 4 May 2016 14:07:00 -0400 Subject: [PATCH] doc: Fix more typos From: Alexander Law --- doc/src/sgml/ecpg.sgml | 10 +++++----- doc/src/sgml/ref/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 e12cb11b317..23536fd7e9d 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 Next, generate test_cpp.o by compiling - test_cpp.cpp with the C++ compiler:. + test_cpp.cpp with the C++ compiler: c++ -c test_cpp.cpp -o test_cpp.o @@ -6296,9 +6296,9 @@ EXEC SQL ALLOCATE DESCRIPTOR mydesc; -CONNECT TO connection_target [ AS connection_name ] [ USER connection_user_name ] +CONNECT TO connection_target [ AS connection_name ] [ USER connection_user ] CONNECT TO DEFAULT -CONNECT connection_user_name +CONNECT connection_user DATABASE connection_target @@ -7830,7 +7830,7 @@ main(void) this mode is active, it tries to behave as if it were the Informix precompiler for Informix E/SQL. Generally spoken this will allow you to use the dollar sign instead of the EXEC SQL primitive to introduce - embedded SQL commands.: + embedded SQL commands: $int j = 3; $CONNECT TO :dbname; @@ -7902,7 +7902,7 @@ EXEC SQL FETCH MYCUR INTO :userid; This statement closes the current connection. In fact, this is a - synonym for ECPG's DISCONNECT CURRENT.: + synonym for ECPG's DISCONNECT CURRENT: $CLOSE DATABASE; /* close the current connection */ EXEC SQL CLOSE DATABASE; diff --git a/doc/src/sgml/ref/pg_xlogdump.sgml b/doc/src/sgml/ref/pg_xlogdump.sgml index 54ef0a725dd..445da935830 100644 --- a/doc/src/sgml/ref/pg_xlogdump.sgml +++ b/doc/src/sgml/ref/pg_xlogdump.sgml @@ -149,7 +149,7 @@ PostgreSQL documentation - + Timeline from which to read log records. The default is to use the