summaryrefslogtreecommitdiff
path: root/doc/src
diff options
context:
space:
mode:
authorBruce Momjian2003-06-15 04:07:58 +0000
committerBruce Momjian2003-06-15 04:07:58 +0000
commit4f70680177879501aa402d880b5099fe5df09847 (patch)
tree24bbb359248e634ca02242a6e49f3485a0dc783a /doc/src
parentffa3bfbc30fe69cddc26bbf6b4ca548fa09e5f9c (diff)
Make ecpg thread safe.
Lee Kindness
Diffstat (limited to 'doc/src')
-rw-r--r--doc/src/sgml/ecpg.sgml9
-rw-r--r--doc/src/sgml/installation.sgml5
2 files changed, 11 insertions, 3 deletions
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 @@
<!--
-$Header: /cvsroot/pgsql/doc/src/sgml/ecpg.sgml,v 1.43 2003/03/25 16:15:35 petere Exp $
+$Header: /cvsroot/pgsql/doc/src/sgml/ecpg.sgml,v 1.44 2003/06/15 04:07:58 momjian Exp $
-->
<chapter id="ecpg">
@@ -750,6 +750,13 @@ EXEC SQL INCLUDE <replaceable>filename</replaceable>;
</para>
<para>
+ <application>ecpg</application> is thread-safe if it is compiled using
+ the <literal>--with-threads</> <filename>configure</filename>
+ command-line option. (You might need to use other threading
+ command-line options to compile your client code.)
+ </para>
+
+ <para>
The preprocessor program is called <filename>ecpg</filename> and is
included in a normal <productname>PostgreSQL</> installation.
Embedded SQL programs are typically named with an extension
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 @@
-<!-- $Header: /cvsroot/pgsql/doc/src/sgml/installation.sgml,v 1.134 2003/06/13 23:10:07 momjian Exp $ -->
+<!-- $Header: /cvsroot/pgsql/doc/src/sgml/installation.sgml,v 1.135 2003/06/15 04:07:58 momjian Exp $ -->
<chapter id="installation">
<title><![%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>