Re: LibreOffice driver 1: Building libpq with Mozilla LDAP instead of OpenLDAP - Mailing list pgsql-hackers

From Tom Lane
Subject Re: LibreOffice driver 1: Building libpq with Mozilla LDAP instead of OpenLDAP
Date
Msg-id 28079.1323791006@sss.pgh.pa.us
Whole thread Raw
In response to LibreOffice driver 1: Building libpq with Mozilla LDAP instead of OpenLDAP  (Lionel Elie Mamane <lionel@mamane.lu>)
Responses Re: LibreOffice driver 1: Building libpq with Mozilla LDAP instead of OpenLDAP  (Lionel Elie Mamane <lionel@mamane.lu>)
List pgsql-hackers
Lionel Elie Mamane <lionel@mamane.lu> writes:
> I've revived the old moribund / bitrotten OpenOffice driver for
> PostgreSQL (originally at
> http://dba.openoffice.org/drivers/postgresql/index.html). As you may
> already know, OpenOffice was forked into LibreOffice. Barring any
> unforeseen disaster, LibreOffice 3.5 (to be released in early February
> 2011) will bundle that driver.

Cool ...

> As part of this integration, I have a few questions / remarks.

> LibreOffice can be configured at build-time to use Mozilla LDAP or
> OpenLDAP. We patched postgresql's configure.in to build libpq with
> Mozilla LDAP when requested to do so.

Um, if I interpret this correctly, you're intending to make OpenOffice
include a bundled copy of libpq.so.  With my other hat on (the red
fedora) that sounds like a truly awful idea.  Distros do not like
packages that include bundled copies of other packages' libraries,
because they're a nightmare for updates (cf recent discussions about
static libraries, which are the same thing).  I strongly suggest you
find a way to not need to do this.

> I wanted to check that this is not by any chance known to produce a
> more-or-less subtly broken libpq.

No, we are not going to make any promises about that.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Jim Nasby
Date:
Subject: Re: JSON for PG 9.2
Next
From: Robert Haas
Date:
Subject: Re: libpq: PQcmdStatus, PQcmdTuples signatures can be painlessly improved