From: | pgsql(at)mohawksoft(dot)com |
---|---|
To: | "Bruce Momjian" <pgman(at)candle(dot)pha(dot)pa(dot)us> |
Cc: | "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us>, "Nicolai Tufar" <ntufar(at)gmail(dot)com>, "Magnus Hagander" <mha(at)sollentuna(dot)net>, "PostgreSQL-development" <pgsql-hackers(at)postgresql(dot)org>, "PostgreSQL Win32 port list" <pgsql-hackers-win32(at)postgresql(dot)org> |
Subject: | Re: [pgsql-hackers-win32] snprintf causes regression |
Date: | 2005-03-02 16:00:53 |
Message-ID: | 16835.24.91.171.78.1109779253.squirrel@mail.mohawksoft.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers pgsql-hackers-win32 pgsql-patches |
>
> Yes, strangly the Window's linker is fine because libpqdll.def defines
> what symbols are exported. I don't think Unix has that capability.
A non-static "public" function in a Windows DLL is not available for
dynamic linking unless explicitly declared as dll export. This behavior is
completely different than UNIX shared libraries.
Windows static libraries operate completely differently than Windows DLLs,
they work like their UNIX equivilents.
So, if you create an snprintf function in code that will be in both a
static and dynamic library, the static library may have conflicts where as
the dynamic one will not.
Don't you love Windows?
From | Date | Subject | |
---|---|---|---|
Next Message | Dave Cramer | 2005-03-02 16:04:21 | Re: 8.0.X and the ARC patent |
Previous Message | Mark Wong | 2005-03-02 15:47:40 | Re: 8.0.X and the ARC patent |
From | Date | Subject | |
---|---|---|---|
Next Message | Bricklen Anderson | 2005-03-02 16:13:34 | Re: Help with tuning this query |
Previous Message | Bruce Momjian | 2005-03-02 15:41:00 | Re: [pgsql-hackers-win32] snprintf causes regression tests |
From | Date | Subject | |
---|---|---|---|
Next Message | Peter Eisentraut | 2005-03-02 16:17:13 | Re: [pgsql-hackers-win32] [HACKERS] snprintf causes regression tests |
Previous Message | Bruce Momjian | 2005-03-02 15:50:22 | Re: [pgsql-hackers-win32] [HACKERS] snprintf causes regression tests |