Document why PQtrace and ecpg debug() can crash the application if the
DLL compiles to not match the application.
This commit is contained in:
parent
d3419467bb
commit
ccc0a1326e
@ -1,5 +1,5 @@
|
|||||||
<!--
|
<!--
|
||||||
$PostgreSQL: pgsql/doc/src/sgml/ecpg.sgml,v 1.65 2005/07/14 06:17:35 neilc Exp $
|
$PostgreSQL: pgsql/doc/src/sgml/ecpg.sgml,v 1.66 2005/09/25 03:06:41 momjian Exp $
|
||||||
-->
|
-->
|
||||||
|
|
||||||
<chapter id="ecpg">
|
<chapter id="ecpg">
|
||||||
@ -1607,6 +1607,13 @@ ECPG = ecpg
|
|||||||
useful when searching for errors in your <acronym>SQL</acronym>
|
useful when searching for errors in your <acronym>SQL</acronym>
|
||||||
statements.
|
statements.
|
||||||
</para>
|
</para>
|
||||||
|
<note>
|
||||||
|
<para>
|
||||||
|
On Win32, if the <application>ecpg</> libraries and application are compiled with
|
||||||
|
different flags, this function call will crash the application because the
|
||||||
|
internal representation of the <literal>FILE</> pointers differ.
|
||||||
|
</para>
|
||||||
|
</note>
|
||||||
</listitem>
|
</listitem>
|
||||||
|
|
||||||
<listitem>
|
<listitem>
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
<!--
|
<!--
|
||||||
$PostgreSQL: pgsql/doc/src/sgml/libpq.sgml,v 1.189 2005/08/14 22:19:49 petere Exp $
|
$PostgreSQL: pgsql/doc/src/sgml/libpq.sgml,v 1.190 2005/09/25 03:06:41 momjian Exp $
|
||||||
-->
|
-->
|
||||||
|
|
||||||
<chapter id="libpq">
|
<chapter id="libpq">
|
||||||
@ -3515,6 +3515,13 @@ affect the messages available from already-existing
|
|||||||
void PQtrace(PGconn *conn, FILE *stream);
|
void PQtrace(PGconn *conn, FILE *stream);
|
||||||
</synopsis>
|
</synopsis>
|
||||||
</para>
|
</para>
|
||||||
|
<note>
|
||||||
|
<para>
|
||||||
|
On Win32, if the <application>libpq</> library and application are compiled with
|
||||||
|
different flags, this function call will crash the application because the
|
||||||
|
internal representation of the <literal>FILE</> pointers differ.
|
||||||
|
</para>
|
||||||
|
</note>
|
||||||
</listitem>
|
</listitem>
|
||||||
</varlistentry>
|
</varlistentry>
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user