libpq.dll on win32

From: "Magnus Hagander" <mha(at)sollentuna(dot)net>
To: "pgsql-patches" <pgsql-patches(at)postgresql(dot)org>
Subject: libpq.dll on win32
Date: 2004-10-11 20:05:20
Message-ID: 6BCB9D8A16AC4241919521715F4D8BCE475E93@algol.sollentuna.se
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-patches

This patch aims to correct the issues with libpq.dll exporting too much
on win32. Contains the following changes:

* Exports PQgetssl() even if SSL support is not compiled in. In this
case, it always returns NULL. This is required so programs that expect
SSL version of the library does not crash if they don't get it.

* Create a global flag in Makefile.shlib named "DLL_DEFNAME" used to
specify a .def file when generating a DLL. If not specified, falls back
to the old behaviour of exporting everything in the file.

* Adds required functions to libpqdll.def and libpqddll.def. This
includes the functions not in the libpq API that are used by initdb and
imported from libpq.dll (per recent mail discussion)

//Magnus

Attachment Content-Type Size
libpq_def.patch application/octet-stream 3.9 KB

Responses

Browse pgsql-patches by date

  From Date Subject
Next Message Bruce Momjian 2004-10-11 20:58:18 Re: plperl features
Previous Message Joshua D. Drake 2004-10-11 19:22:47 Re: plperl features