pg.ddx.io pgsql-committers@postgresql.org mailing list archivehelp / color / mirror / Atom feed
pgsql: Provide DLLEXPORT markers for C functions via PG_FUNCTION_INFO_V 5+ messages / 1 participants [nested] [flat]
* pgsql: Provide DLLEXPORT markers for C functions via PG_FUNCTION_INFO_V @ 2016-10-12 16:46 Tom Lane <tgl@sss.pgh.pa.us> 0 siblings, 0 replies; 5+ messages in thread From: Tom Lane @ 2016-10-12 16:46 UTC (permalink / raw) To: pgsql-committers Provide DLLEXPORT markers for C functions via PG_FUNCTION_INFO_V1 macro. This isn't really necessary for our own code, because we use a .DEF file in MSVC builds (see gendef.pl), or --export-all-symbols in MinGW and Cygwin builds, to ensure that all global symbols in loadable modules will be exported on Windows. However, third-party authors might use different build processes that need this marker, and it's harmless enough for our own builds. To some extent, this is an oversight in commit e7128e8db, so back-patch to 9.4 where that was added. Laurenz Albe Discussion: <A737B7A37273E048B164557ADEF4A58B539300BD@ntex2010a.host.magwien.gv.at> Branch ------ master Details ------- http://git.postgresql.org/pg/commitdiff/8518583cdb10340bab3464121629a1a9ec387afa Modified Files -------------- src/include/fmgr.h | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) -- Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-committers ^ permalink raw reply [nested|flat] 5+ messages in thread
* pgsql: Provide DLLEXPORT markers for C functions via PG_FUNCTION_INFO_V @ 2016-10-12 16:46 Tom Lane <tgl@sss.pgh.pa.us> 0 siblings, 0 replies; 5+ messages in thread From: Tom Lane @ 2016-10-12 16:46 UTC (permalink / raw) To: pgsql-committers Provide DLLEXPORT markers for C functions via PG_FUNCTION_INFO_V1 macro. This isn't really necessary for our own code, because we use a .DEF file in MSVC builds (see gendef.pl), or --export-all-symbols in MinGW and Cygwin builds, to ensure that all global symbols in loadable modules will be exported on Windows. However, third-party authors might use different build processes that need this marker, and it's harmless enough for our own builds. To some extent, this is an oversight in commit e7128e8db, so back-patch to 9.4 where that was added. Laurenz Albe Discussion: <A737B7A37273E048B164557ADEF4A58B539300BD@ntex2010a.host.magwien.gv.at> Branch ------ REL9_6_STABLE Details ------- http://git.postgresql.org/pg/commitdiff/c4a2ffefbf74bae049c95339fb733955d2b12c55 Modified Files -------------- src/include/fmgr.h | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) -- Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-committers ^ permalink raw reply [nested|flat] 5+ messages in thread
* pgsql: Provide DLLEXPORT markers for C functions via PG_FUNCTION_INFO_V @ 2016-10-12 16:46 Tom Lane <tgl@sss.pgh.pa.us> 0 siblings, 0 replies; 5+ messages in thread From: Tom Lane @ 2016-10-12 16:46 UTC (permalink / raw) To: pgsql-committers Provide DLLEXPORT markers for C functions via PG_FUNCTION_INFO_V1 macro. This isn't really necessary for our own code, because we use a .DEF file in MSVC builds (see gendef.pl), or --export-all-symbols in MinGW and Cygwin builds, to ensure that all global symbols in loadable modules will be exported on Windows. However, third-party authors might use different build processes that need this marker, and it's harmless enough for our own builds. To some extent, this is an oversight in commit e7128e8db, so back-patch to 9.4 where that was added. Laurenz Albe Discussion: <A737B7A37273E048B164557ADEF4A58B539300BD@ntex2010a.host.magwien.gv.at> Branch ------ REL9_5_STABLE Details ------- http://git.postgresql.org/pg/commitdiff/6298eaec86d86228dc59cb38fa7e69930598776d Modified Files -------------- src/include/fmgr.h | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) -- Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-committers ^ permalink raw reply [nested|flat] 5+ messages in thread
* pgsql: Provide DLLEXPORT markers for C functions via PG_FUNCTION_INFO_V @ 2016-10-12 16:46 Tom Lane <tgl@sss.pgh.pa.us> 0 siblings, 0 replies; 5+ messages in thread From: Tom Lane @ 2016-10-12 16:46 UTC (permalink / raw) To: pgsql-committers Provide DLLEXPORT markers for C functions via PG_FUNCTION_INFO_V1 macro. This isn't really necessary for our own code, because we use a .DEF file in MSVC builds (see gendef.pl), or --export-all-symbols in MinGW and Cygwin builds, to ensure that all global symbols in loadable modules will be exported on Windows. However, third-party authors might use different build processes that need this marker, and it's harmless enough for our own builds. To some extent, this is an oversight in commit e7128e8db, so back-patch to 9.4 where that was added. Laurenz Albe Discussion: <A737B7A37273E048B164557ADEF4A58B539300BD@ntex2010a.host.magwien.gv.at> Branch ------ REL9_4_STABLE Details ------- http://git.postgresql.org/pg/commitdiff/ee6810fb4639cbf4da40eb647ae91ed59dd0deaf Modified Files -------------- src/include/fmgr.h | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) -- Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-committers ^ permalink raw reply [nested|flat] 5+ messages in thread
* pgsql: Provide DLLEXPORT markers for C functions via PG_FUNCTION_INFO_V @ 2016-11-04 23:05 Tom Lane <tgl@sss.pgh.pa.us> 0 siblings, 0 replies; 5+ messages in thread From: Tom Lane @ 2016-11-04 23:05 UTC (permalink / raw) To: pgsql-committers Provide DLLEXPORT markers for C functions via PG_FUNCTION_INFO_V1 macro. Second try at the change originally made in commit 8518583cd; this time with contrib updates so that manual extern declarations are also marked with PGDLLEXPORT. The release notes should point this out as a significant source-code change for extension authors, since they'll have to make similar additions to avoid trouble on Windows. Laurenz Albe, doc change by me Patch: <A737B7A37273E048B164557ADEF4A58B53962ED8@ntex2010a.host.magwien.gv.at> Branch ------ master Details ------- http://git.postgresql.org/pg/commitdiff/c8ead2a3974d3eada145a0e18940150039493cc9 Modified Files -------------- contrib/hstore/hstore.h | 2 +- contrib/ltree/ltree.h | 40 ++++++++++++++++++++-------------------- doc/src/sgml/xfunc.sgml | 17 +++++++++++++++++ src/include/fmgr.h | 7 +++---- 4 files changed, 41 insertions(+), 25 deletions(-) -- Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-committers ^ permalink raw reply [nested|flat] 5+ messages in thread
end of thread, other threads:[~2016-11-04 23:05 UTC | newest] Thread overview: 5+ messages (download: mbox mbox.gz follow: Atom feed) -- links below jump to the message on this page -- 2016-10-12 16:46 pgsql: Provide DLLEXPORT markers for C functions via PG_FUNCTION_INFO_V Tom Lane <tgl@sss.pgh.pa.us> 2016-10-12 16:46 pgsql: Provide DLLEXPORT markers for C functions via PG_FUNCTION_INFO_V Tom Lane <tgl@sss.pgh.pa.us> 2016-10-12 16:46 pgsql: Provide DLLEXPORT markers for C functions via PG_FUNCTION_INFO_V Tom Lane <tgl@sss.pgh.pa.us> 2016-10-12 16:46 pgsql: Provide DLLEXPORT markers for C functions via PG_FUNCTION_INFO_V Tom Lane <tgl@sss.pgh.pa.us> 2016-11-04 23:05 pgsql: Provide DLLEXPORT markers for C functions via PG_FUNCTION_INFO_V Tom Lane <tgl@sss.pgh.pa.us>
This inbox is served by DDX for PostgreSQL; see mirroring instructions for how to clone and mirror all data and code used for this inbox