pg.ddx.io pgsql-committers@postgresql.org mailing list archivehelp / color / mirror / Atom feed
pgsql: Revert addition of PGDLLEXPORT in PG_FUNCTION_INFO_V1 macro. 4+ messages / 1 participants [nested] [flat]
* pgsql: Revert addition of PGDLLEXPORT in PG_FUNCTION_INFO_V1 macro. @ 2016-10-12 22:02 Tom Lane <tgl@sss.pgh.pa.us> 0 siblings, 0 replies; 4+ messages in thread From: Tom Lane @ 2016-10-12 22:02 UTC (permalink / raw) To: pgsql-committers Revert addition of PGDLLEXPORT in PG_FUNCTION_INFO_V1 macro. This turns out not to be as harmless as I thought: MSVC will complain if it sees an "extern" declaration without PGDLLEXPORT and then one with. (Seems fairly silly, given that this can be changed after the fact by the linker, but there you have it.) Therefore, contrib modules that have extern's for V1 functions in header files are falling over in the buildfarm, since none of those externs are marked PGDLLEXPORT. We might or might not conclude that we're willing to plaster those declarations with PGDLLEXPORT in HEAD, but in any case there's no way we're going to ship this change in the back branches. Third-party authors would not thank us for breaking their code in a minor release. Hence, revert the addition of PGDLLEXPORT (but let's keep the extra info in the comment). If we do the other changes we can revert this commit in HEAD. Per buildfarm. Branch ------ master Details ------- http://git.postgresql.org/pg/commitdiff/4f52fd3c6d28a4380a5afc51ae6f774c91837a38 Modified Files -------------- src/include/fmgr.h | 7 ++++--- 1 file changed, 4 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] 4+ messages in thread
* pgsql: Revert addition of PGDLLEXPORT in PG_FUNCTION_INFO_V1 macro. @ 2016-10-12 22:02 Tom Lane <tgl@sss.pgh.pa.us> 0 siblings, 0 replies; 4+ messages in thread From: Tom Lane @ 2016-10-12 22:02 UTC (permalink / raw) To: pgsql-committers Revert addition of PGDLLEXPORT in PG_FUNCTION_INFO_V1 macro. This turns out not to be as harmless as I thought: MSVC will complain if it sees an "extern" declaration without PGDLLEXPORT and then one with. (Seems fairly silly, given that this can be changed after the fact by the linker, but there you have it.) Therefore, contrib modules that have extern's for V1 functions in header files are falling over in the buildfarm, since none of those externs are marked PGDLLEXPORT. We might or might not conclude that we're willing to plaster those declarations with PGDLLEXPORT in HEAD, but in any case there's no way we're going to ship this change in the back branches. Third-party authors would not thank us for breaking their code in a minor release. Hence, revert the addition of PGDLLEXPORT (but let's keep the extra info in the comment). If we do the other changes we can revert this commit in HEAD. Per buildfarm. Branch ------ REL9_6_STABLE Details ------- http://git.postgresql.org/pg/commitdiff/490734c588c4e70d46950c4f6c64dfd6e592cdcc Modified Files -------------- src/include/fmgr.h | 7 ++++--- 1 file changed, 4 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] 4+ messages in thread
* pgsql: Revert addition of PGDLLEXPORT in PG_FUNCTION_INFO_V1 macro. @ 2016-10-12 22:02 Tom Lane <tgl@sss.pgh.pa.us> 0 siblings, 0 replies; 4+ messages in thread From: Tom Lane @ 2016-10-12 22:02 UTC (permalink / raw) To: pgsql-committers Revert addition of PGDLLEXPORT in PG_FUNCTION_INFO_V1 macro. This turns out not to be as harmless as I thought: MSVC will complain if it sees an "extern" declaration without PGDLLEXPORT and then one with. (Seems fairly silly, given that this can be changed after the fact by the linker, but there you have it.) Therefore, contrib modules that have extern's for V1 functions in header files are falling over in the buildfarm, since none of those externs are marked PGDLLEXPORT. We might or might not conclude that we're willing to plaster those declarations with PGDLLEXPORT in HEAD, but in any case there's no way we're going to ship this change in the back branches. Third-party authors would not thank us for breaking their code in a minor release. Hence, revert the addition of PGDLLEXPORT (but let's keep the extra info in the comment). If we do the other changes we can revert this commit in HEAD. Per buildfarm. Branch ------ REL9_5_STABLE Details ------- http://git.postgresql.org/pg/commitdiff/16d41c84f26674ad2fe3cd3f75c83163c91b5619 Modified Files -------------- src/include/fmgr.h | 7 ++++--- 1 file changed, 4 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] 4+ messages in thread
* pgsql: Revert addition of PGDLLEXPORT in PG_FUNCTION_INFO_V1 macro. @ 2016-10-12 22:02 Tom Lane <tgl@sss.pgh.pa.us> 0 siblings, 0 replies; 4+ messages in thread From: Tom Lane @ 2016-10-12 22:02 UTC (permalink / raw) To: pgsql-committers Revert addition of PGDLLEXPORT in PG_FUNCTION_INFO_V1 macro. This turns out not to be as harmless as I thought: MSVC will complain if it sees an "extern" declaration without PGDLLEXPORT and then one with. (Seems fairly silly, given that this can be changed after the fact by the linker, but there you have it.) Therefore, contrib modules that have extern's for V1 functions in header files are falling over in the buildfarm, since none of those externs are marked PGDLLEXPORT. We might or might not conclude that we're willing to plaster those declarations with PGDLLEXPORT in HEAD, but in any case there's no way we're going to ship this change in the back branches. Third-party authors would not thank us for breaking their code in a minor release. Hence, revert the addition of PGDLLEXPORT (but let's keep the extra info in the comment). If we do the other changes we can revert this commit in HEAD. Per buildfarm. Branch ------ REL9_4_STABLE Details ------- http://git.postgresql.org/pg/commitdiff/80296813cc3df61b7ab5aca69108680600a57f79 Modified Files -------------- src/include/fmgr.h | 7 ++++--- 1 file changed, 4 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] 4+ messages in thread
end of thread, other threads:[~2016-10-12 22:02 UTC | newest] Thread overview: 4+ messages (download: mbox mbox.gz follow: Atom feed) -- links below jump to the message on this page -- 2016-10-12 22:02 pgsql: Revert addition of PGDLLEXPORT in PG_FUNCTION_INFO_V1 macro. Tom Lane <tgl@sss.pgh.pa.us> 2016-10-12 22:02 pgsql: Revert addition of PGDLLEXPORT in PG_FUNCTION_INFO_V1 macro. Tom Lane <tgl@sss.pgh.pa.us> 2016-10-12 22:02 pgsql: Revert addition of PGDLLEXPORT in PG_FUNCTION_INFO_V1 macro. Tom Lane <tgl@sss.pgh.pa.us> 2016-10-12 22:02 pgsql: Revert addition of PGDLLEXPORT in PG_FUNCTION_INFO_V1 macro. 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