momjian(at)postgresql(dot)org (Bruce Momjian) writes:
> Log Message:
> -----------
> Add PGDLLIMPORT for binary_upgrade global variables so shared object
> libraries can access them.
This change is useless, and contrary to our coding standards elsewhere.
You need PGDLLIMPORT on the externs seen by the loadable module. We
don't put it on the actual variable definitions.
regards, tom lane