From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | pgsql-committers(at)postgresql(dot)org |
Subject: | pgsql: Provide DLLEXPORT markers for C functions via PG_FUNCTION_INFO_V |
Date: | 2016-10-12 16:46:45 |
Message-ID: | [email protected] |
Views: | Whole Thread | Raw Message | Download mbox | Resend email |
Thread: | |
Lists: | 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(at)ntex2010a(dot)host(dot)magwien(dot)gv(dot)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(-)
From | Date | Subject | |
---|---|---|---|
Next Message | Peter Eisentraut | 2016-10-12 18:17:22 | Re: pgsql: Remove pg_dump/pg_dumpall support for dumping from pre-8.0 serve |
Previous Message | Tom Lane | 2016-10-12 16:20:23 | pgsql: Remove pg_dump/pg_dumpall support for dumping from pre-8.0 serve |