pgsql: Add PGDLLEXPORTS to some plpgsql function declarations

From: Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Add PGDLLEXPORTS to some plpgsql function declarations
Date: 2022-07-20 08:25:42
Message-ID: E1oE51Z-000OnQ-B6@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/1caf915ff31e91031f0a0b8e1016df2b59d6f9de

Modified Files
--------------
src/pl/plpgsql/src/plpgsql.h | 30 +++++++++++++++---------------
1 file changed, 15 insertions(+), 15 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Dean Rasheed 2022-07-20 08:33:10 pgsql: Make subquery aliases optional in the FROM clause.
Previous Message Thomas Munro 2022-07-20 04:12:41 pgsql: Fix warnings on Windows.