Mark all symbols exported from extension libraries PGDLLEXPORT.
Andres Freund <andres@anarazel.de>
Mark all symbols exported from extension libraries PGDLLEXPORT. This is in preparation for defaulting to -fvisibility=hidden in extensions, instead of relying on all symbols in extensions to be exported. This should have been committed before 089480c0770, but something in my commit scripts went wrong. Author: Andres Freund <andres@anarazel.de> Reviewed-By: Tom Lane <tgl@sss.pgh.pa.us> Discussion: https://postgr.es/m/20211101020311.av6hphdl6xbjbuif@alap3.anarazel.de
Files
| Path | Change | +/− |
|---|---|---|
| contrib/hstore/hstore.h | modified | +8 −8 |
| contrib/ltree/ltree.h | modified | +20 −20 |
| src/include/fmgr.h | modified | +1 −1 |
| src/pl/plpython/plpy_elog.h | modified | +5 −5 |
| src/pl/plpython/plpy_typeio.h | modified | +18 −18 |
| src/pl/plpython/plpy_util.h | modified | +4 −4 |
| src/test/modules/test_shm_mq/test_shm_mq.h | modified | +1 −1 |
| src/test/modules/worker_spi/worker_spi.c | modified | +1 −1 |
Discussion
- Use -fvisibility=hidden for shared libraries 23 messages · 2021-11-01 → 2022-10-16