public inbox for [email protected]
help / color / mirror / Atom feedFrom: Tim Landscheidt <[email protected]>
To: [email protected]
Subject: "Localizing" paths?
Date: Mon, 05 Jul 2010 20:16:15 +0000
Message-ID: <[email protected]> (raw)
References: <[email protected]>
<[email protected]>
<[email protected]>
Balkrishna Sharma <[email protected]> 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
view thread (14+ messages) latest in thread
reply
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: [email protected]
Cc: [email protected]
Subject: Re: "Localizing" paths?
In-Reply-To: <[email protected]>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox