>>>>> "Tom" == Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> writes:
Tom> However, the info I can find about this suggests that it's only Tom> relevant for exported functions, not ones that are hidden by means Tom> of a version-script. Since libpq doesn't export pg_saslprep, this Tom> shouldn't be happening?
Tom> But wait, this problem is being reported on OpenBSD. I wonder Tom> whether their linker behaves anything like Linux's ... hm, it Tom> looks like it *is* the same linker.
But the makefile is not doing the same thing. SHLIB_EXPORTS looks like it's being ignored on every platform except linux, macos and windows in Makefile.shlib.