From: Bruce Momjian Date: Thu, 13 Oct 2005 17:46:18 +0000 (+0000) Subject: Clarify causes of possible mismatch between Win32 libraries and X-Git-Tag: REL8_1_0BETA4~71 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8fc0aa4ccaec0147771b055782ba4d8f752c3c76;p=postgresql Clarify causes of possible mismatch between Win32 libraries and applications that use FILE pointers. --- diff --git a/doc/src/sgml/ecpg.sgml b/doc/src/sgml/ecpg.sgml index 0882c5ad64..849c8efbe4 100644 --- a/doc/src/sgml/ecpg.sgml +++ b/doc/src/sgml/ecpg.sgml @@ -1,5 +1,5 @@ @@ -1612,7 +1612,9 @@ ECPG = ecpg On Win32, if the ecpg libraries and an application are compiled with different flags, this function call will crash the application because the internal representation of the - FILE pointers differ. + FILE pointers differ. Specifically, + threading/non-threading, release/debug, and static/dynamic flags should + be the same for the library and all applications using that library. diff --git a/doc/src/sgml/libpq.sgml b/doc/src/sgml/libpq.sgml index c72eb298ff..d05cf23e54 100644 --- a/doc/src/sgml/libpq.sgml +++ b/doc/src/sgml/libpq.sgml @@ -1,5 +1,5 @@ @@ -3520,7 +3520,9 @@ void PQtrace(PGconn *conn, FILE *stream); On Win32, if the libpq library and an application are compiled with different flags, this function call will crash the application because the internal representation of the FILE -pointers differ. +pointers differ. Specifically, threading/non-threading, release/debug, and +static/dynamic flags should be the same for the library and all applications +using that library.