Re: pg_autovacuum (7.4) nss_ldap oddity - Mailing list pgsql-general

From Matthew T. O'Connor
Subject Re: pg_autovacuum (7.4) nss_ldap oddity
Date
Msg-id 4135E9A5.2030309@zeut.net
Whole thread Raw
In response to pg_autovacuum (7.4) nss_ldap oddity  (Oliver Elphick <olly@lfix.co.uk>)
List pgsql-general
Oliver Elphick wrote:
> I get this in the logs for every database open by pg_autovacuum:
>
> Sep  1 14:02:45 cerberus pg_autovacuum: nss_ldap: could not connect to
> any LDAP server as (null) - Can't contact LDAP server
>
> This is produced by the bind_to() call in libnss-ldap.  This is invoked
> when /etc/nss_switch.conf specifies ldap; what I don't understand yet is
> what pg_autovacuum is doing differently from every other application so
> as to cause this message.

Good question, I don't know either.  All pg_autovacuum does is call the
libpq function to connect to the database.  Can you look into this
further?  Do you get similar messages when you use psql to connect to a
database?

Matthew

pgsql-general by date:

Previous
From: "Russ Brown"
Date:
Subject: Re: Join efficiency
Next
From:
Date:
Subject: Re: PostgreSQL and Fedora?