Re: narwhal and PGDLLIMPORT - Mailing list pgsql-hackers

From Craig Ringer
Subject Re: narwhal and PGDLLIMPORT
Date
Msg-id 0MFKbs-1WSRj91hZM-00ELuH@mrelayeu.kundenserver.de
Whole thread Raw
In response to narwhal and PGDLLIMPORT  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
(Top post, on phone)

The @number part is optional. It indicates an export ordinal. (You don't want to know, if you do, see MSDN).

If you remove them or change them then binaries linked to the older version will fail to link to the newer; it breaks
binarycompat. The ordinals are part of the library ABI. 

On 20 Feb 2014 07:28, Alvaro Herrera <alvherre@2ndquadrant.com> wrote:
>
> Tom Lane escribió:
> > Hiroshi Inoue <inoue@tpf.co.jp> writes:
> > > Attached is a patch to remove dllwarp from pgevent/Makefile.
> >
> > Actually, it looks like this patch doesn't work at all:
> >
> > http://buildfarm.postgresql.org/cgi-bin/show_log.pl?nm=jacana&dt=2014-02-20%2001%3A00%3A53
> >
> > Did I fat-finger the commit somehow?  I made a couple of cosmetic
> > changes, or at least I thought they were cosmetic.
>
> The format of the file is completely unlike that of the other *dll.def
> files we use elsewhere.  AFAICT each line is
>
> <tab>symbolname@<tab>some_number
>
> --
> Álvaro Herrera                http://www.2ndQuadrant.com/
> PostgreSQL Development, 24x7 Support, Training & Services

pgsql-hackers by date:

Previous
From: Pavel Stehule
Date:
Subject: Re: Fwd: patch: make_timestamp function
Next
From: amul sul
Date:
Subject: Re: Selecting large tables gets killed