Re: LibreOffice driver 1: Building libpq with Mozilla LDAP instead of OpenLDAP

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Lionel Elie Mamane <lionel(at)mamane(dot)lu>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: LibreOffice driver 1: Building libpq with Mozilla LDAP instead of OpenLDAP
Date: 2011-12-13 15:43:26
Message-ID: 28079.1323791006@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Lionel Elie Mamane <lionel(at)mamane(dot)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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Robert Haas 2011-12-13 15:51:54 Re: libpq: PQcmdStatus, PQcmdTuples signatures can be painlessly improved
Previous Message Jim Nasby 2011-12-13 15:40:49 Re: JSON for PG 9.2