mirror of
https://github.com/postgres/postgres.git
synced 2025-07-28 23:42:10 +03:00
Make ecpg thread safe.
Lee Kindness
This commit is contained in:
@ -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">
|
||||
@ -749,6 +749,13 @@ EXEC SQL INCLUDE <replaceable>filename</replaceable>;
|
||||
in the arguments specified for output.
|
||||
</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.
|
||||
|
@ -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>
|
||||
|
Reference in New Issue
Block a user