From 4f70680177879501aa402d880b5099fe5df09847 Mon Sep 17 00:00:00 2001 From: Bruce Momjian Date: Sun, 15 Jun 2003 04:07:58 +0000 Subject: Make ecpg thread safe. Lee Kindness --- doc/src/sgml/ecpg.sgml | 9 ++++++++- doc/src/sgml/installation.sgml | 5 +++-- 2 files changed, 11 insertions(+), 3 deletions(-) (limited to 'doc/src') diff --git a/doc/src/sgml/ecpg.sgml b/doc/src/sgml/ecpg.sgml index 8cb4874912d..d1d36db188d 100644 --- a/doc/src/sgml/ecpg.sgml +++ b/doc/src/sgml/ecpg.sgml @@ -1,5 +1,5 @@ @@ -749,6 +749,13 @@ EXEC SQL INCLUDE filename; in the arguments specified for output. + + ecpg is thread-safe if it is compiled using + the --with-threads configure + command-line option. (You might need to use other threading + command-line options to compile your client code.) + + The preprocessor program is called ecpg and is included in a normal PostgreSQL installation. diff --git a/doc/src/sgml/installation.sgml b/doc/src/sgml/installation.sgml index 4c7a0a35176..e5d78e7ad83 100644 --- a/doc/src/sgml/installation.sgml +++ b/doc/src/sgml/installation.sgml @@ -1,4 +1,4 @@ - + <![%standalone-include[<productname>PostgreSQL</>]]> @@ -918,7 +918,8 @@ JAVACMD=$JAVA_HOME/bin/java <term><option>--with-threads</option></term> <listitem> <para> - Allow separate libpq threads to safely control their private connection handles. + Allow separate libpq and ecpg threads to safely control their + private connection handles. </para> </listitem> </varlistentry> -- cgit v1.2.3