procedure support: it's possible to get confused because exported procedures
have two different addresses. Per Andrew Chernow.
-
+
PGconn>. This is because the address of the procedure
is used as a lookup key to identify the associated instance data.
+
+
+ On Windows, functions can have two different addresses: one visible
+ from outside a DLL and another visible from inside the DLL. One
+ should be careful that only one of these addresses is used with
+
libpq>'s event-procedure functions, else confusion will
+ result. The simplest rule for writing code that will work is to
+ ensure that event procedures are declared static>. If the
+ procedure's address must be available outside its own source file,
+ expose a separate function to return the address.
+
+