Re: pg_config

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Andrew Dunstan <andrew(at)dunslane(dot)net>
Cc: peter_e(at)gmx(dot)net, tgl(at)sss(dot)pgh(dot)pa(dot)us, pgsql-hackers(at)postgresql(dot)org
Subject: Re: pg_config
Date: 2004-07-20 14:35:20
Message-ID: 200407201435.i6KEZKW19226@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches

Andrew Dunstan wrote:
> Peter Eisentraut said:
> > Tom Lane wrote:
> >> I doubt it. People can always just read the file to see what
> >> settings are in it, and it's not like nonexperts are going to have a
> >> variety of different configurations that we're gonna have to ask them
> >> about. (Even in the Unix world, pg_config is not really needed when
> >> most people are installing one of a small number of RPM-type
> >> packages...)
>
> ISTM that if it's not useful we should rip it out and if it is then we
> should make it portable.

Agreed. Right now we have a shell script in the Win32 binary directory
that doesn't work for them.

> > The point of pg_config is not primarily to debug the installation
> > layout for us. pg_config is used in configure scripts to find
> > PostgreSQL libraries and header files.
>
> To that extent is it not broken by relocated installations that we have now
> made some provision for?

Good question.

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2004-07-20 14:39:27 Re: Patch for pg_dump: Multiple -t options and new -T option
Previous Message Simon Riggs 2004-07-20 14:24:16 Re: PITR COPY Failure (was Point in Time Recovery)

Browse pgsql-patches by date

  From Date Subject
Next Message Bruce Momjian 2004-07-20 14:39:27 Re: Patch for pg_dump: Multiple -t options and new -T option
Previous Message Bruce Momjian 2004-07-20 14:34:20 Re: logfile subprocess and Fancy File Functions