Skip to content

Commit 8fc0aa4

Browse files
committed
Clarify causes of possible mismatch between Win32 libraries and
applications that use FILE pointers.
1 parent 165565c commit 8fc0aa4

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

doc/src/sgml/ecpg.sgml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!--
2-
$PostgreSQL: pgsql/doc/src/sgml/ecpg.sgml,v 1.67 2005/09/25 03:12:13 momjian Exp $
2+
$PostgreSQL: pgsql/doc/src/sgml/ecpg.sgml,v 1.68 2005/10/13 17:46:18 momjian Exp $
33
-->
44

55
<chapter id="ecpg">
@@ -1612,7 +1612,9 @@ ECPG = ecpg
16121612
On Win32, if the <application>ecpg</> libraries and an application are
16131613
compiled with different flags, this function call will crash the
16141614
application because the internal representation of the
1615-
<literal>FILE</> pointers differ.
1615+
<literal>FILE</> pointers differ. Specifically,
1616+
threading/non-threading, release/debug, and static/dynamic flags should
1617+
be the same for the library and all applications using that library.
16161618
</para>
16171619
</note>
16181620
</listitem>

doc/src/sgml/libpq.sgml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!--
2-
$PostgreSQL: pgsql/doc/src/sgml/libpq.sgml,v 1.191 2005/09/25 03:12:13 momjian Exp $
2+
$PostgreSQL: pgsql/doc/src/sgml/libpq.sgml,v 1.192 2005/10/13 17:46:18 momjian Exp $
33
-->
44

55
<chapter id="libpq">
@@ -3520,7 +3520,9 @@ void PQtrace(PGconn *conn, FILE *stream);
35203520
On Win32, if the <application>libpq</> library and an application are
35213521
compiled with different flags, this function call will crash the
35223522
application because the internal representation of the <literal>FILE</>
3523-
pointers differ.
3523+
pointers differ. Specifically, threading/non-threading, release/debug, and
3524+
static/dynamic flags should be the same for the library and all applications
3525+
using that library.
35243526
</para>
35253527
</note>
35263528
</listitem>

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy