Add PGDLLEXPORTS to some plpgsql function declarations
authorAlvaro Herrera <alvherre@alvh.no-ip.org>
Wed, 20 Jul 2022 08:24:50 +0000 (10:24 +0200)
committerAlvaro Herrera <alvherre@alvh.no-ip.org>
Wed, 20 Jul 2022 08:24:50 +0000 (10:24 +0200)
commit1caf915ff31e91031f0a0b8e1016df2b59d6f9de
tree409263fd8b83ed0ad6c4a96d886c4351bf67e261
parentbde60daa0ec9d0ee8dc79c0caa2c94d128527867
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
src/pl/plpgsql/src/plpgsql.h