Subject: libpq4: sysconfdir should be set consistently
Package: libpq4
Version: 8.1.9-0etch1
Severity: normal

*** Please type your report below this line ***

The value of SYSCONFDIR is set inconsistently, probably because it is
not passed to configure scripts from debian/rules.  If I start psql with
PGSERVICE=whatever psql, psql finds the pg_service.conf file
in /etc/postgresql-common/ but if I use Perl's DBD::Pg interface, it
looks for the services file in /etc/postgresql/ unless PGSYSCONFDIR is
set in the environment.  You can see the problem in
src/interfaces/libpq/fe-connect.c

Ideally all interfaces would look in /etc/postgresql-common/ for the
pg_service.conf file.

-- System Information:
Debian Release: 4.0
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-4-amd64
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)

Versions of packages libpq4 depends on:
ii  libc6    2.3.6.ds1-13                    GNU C Library: Shared libraries
ii  libcomer 1.39+1.40-WIP-2006.11.14+dfsg-2 common error description library
ii  libkrb53 1.4.4-7etch1                    MIT Kerberos runtime libraries
ii  libssl0. 0.9.8e-4                        SSL shared libraries

libpq4 recommends no packages.

-- no debconf information




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to