pgsql-bugs(at)postgresql(dot)org writes:
> dllwrap -o plpgsql.dll --dllname plpgsql.dll --def plpgsql.def pl_parse.o pl_handler.o pl_comp.o pl_exec.o pl_funcs.o ../../../../src/utils/dllinit.o -L../../../../src/backend -lpostgres -lcygipc -lcygwin -lcrypt -lkernel32
> pl_exec.o(.text+0x709):pl_exec.c: undefined reference to `assert_enabled'
> pl_exec.o(.text+0x730):pl_exec.c: undefined reference to `FailedAssertion'
> collect2: ld returned 1 exit status
Hm. Looks like these variables need to be marked DLLIMPORT. Thanks for
the report.
regards, tom lane