From: Tim Landscheidt <tim@tim-landscheidt.de>
To: pgsql-docs@postgresql.org
Subject: "Localizing" paths?
Date: Mon, 05 Jul 2010 20:16:15 +0000
Message-ID: <m3d3v1ofao.fsf_-_@passepartout.tim-landscheidt.de> (raw)
References: <BAY149-w4CD2A104FF9FA0BEADD3AF0B10@phx.gbl>
<1278349811-sup-6775@alvh.no-ip.org>
<BAY149-w7B72F20DF56F3177081E8F0B10@phx.gbl>
Balkrishna Sharma <b_ki@hotmail.com> wrote on -admin:
> Thanks. If I want to do at system-wide level, where do I store the psqlrc file (assuming I want to change the timing behavior system-wide)?
> (CentOS 5, Postgres 8.4)
> $ ./pg_config --sysconfdir/opt/PostgreSQL/8.4/etc/postgresql
> But I don't have /opt/PostgreSQL/8.4/etc/postgresql directory. Just creating the directory and putting a psqlrc file over there does not seem to work.
> [...]
This got me wondering: With the 8.4 RPMs, in psql's man
page, there is an unexplained
"*PREFIX*/share/psqlrc.sample"; the sample psqlrc installed
in /usr/share/pgsql/psqlrc.sample (sic!) says:
| -- Copy this to your sysconf directory (typically /usr/local/pgsql/etc) and
| -- rename it psqlrc.
Would it be feasible and desirable to "localize" the paths
in the configure stage? Pro: Fewer guesses by new users.
Con: Adds another level of complexity to the build system.
Tim
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-admin@postgresql.org
Cc: tim@tim-landscheidt.de, pgsql-docs@postgresql.org
Subject: Re: "Localizing" paths?
In-Reply-To: <m3d3v1ofao.fsf_-_@passepartout.tim-landscheidt.de>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox