Add PGDLLEXPORTS to some plpgsql function declarations

Alvaro Herrera <alvherre@alvh.no-ip.org>

Commit: 1caf915ff31e91031f0a0b8e1016df2b59d6f9de
Author: Alvaro Herrera <alvherre@alvh.no-ip.org>
Date: 2022-07-20T08:24:50Z
Releases: 16.0
Add PGDLLEXPORTS to some plpgsql function declarations

After -fvisibility=hidden was added by 089480c07705, plpgsql_check no
longer works; this quick hack fixes it.  It would be better to
restructure the plpgsql.h header so that this doesn't look as random,
but we can leave that for another day.

Reported-by: Pavel Stehule
Discussion: https://postgr.es/m/CAFj8pRAFxc3-SHMD3URU09JZXEKY3W-RwXKp8xPEnEq8rrka7w@mail.gmail.com

Files

PathChange+/−
src/pl/plpgsql/src/plpgsql.h modified +15 −15

Discussion