Clarify causes of possible mismatch between Win32 libraries and
authorBruce Momjian
Thu, 13 Oct 2005 17:46:18 +0000 (17:46 +0000)
committerBruce Momjian
Thu, 13 Oct 2005 17:46:18 +0000 (17:46 +0000)
applications that use FILE pointers.

doc/src/sgml/ecpg.sgml
doc/src/sgml/libpq.sgml

index 0882c5ad6424f97b544623637b6ced28b2e7db54..849c8efbe49cca658ad1196cc546440c031aa2d1 100644 (file)
@@ -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.
     
     
    
index c72eb298ff6cf3541f59bab9c7a75b5dde8426d7..d05cf23e54e3a78f21cd32eac28fdf85b4d7227e 100644 (file)
@@ -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.