Bruce Momjian wrote:
Applied.
Replace rename it to psqlrc instead of psql.rc.
---(end of broadcast)---
TIP 8: explain analyze is your friend
Bruce Momjian wrote:
Tom Lane wrote:
Bruce Momjian [EMAIL PROTECTED] writes:
I just checked a few apps and I see they usually allow a global config
file to be specified. How about SYSPSQLRC that adds a system-wide psql
config file to be read before the one in the home directory?
Bruce Momjian wrote:
Bruce Momjian wrote:
Tom Lane wrote:
Bruce Momjian [EMAIL PROTECTED] writes:
Tom Lane wrote:
Uh, why is that a good idea?
Well, suppose you want all your users to use the same psqlrc file.
Instead of creating symlinks for every user, you can just set
Bruce Momjian [EMAIL PROTECTED] writes:
I just checked a few apps and I see they usually allow a global config
file to be specified. How about SYSPSQLRC that adds a system-wide psql
config file to be read before the one in the home directory?
The ones I know of that allow such a thing
Bruce Momjian wrote:
Tom Lane wrote:
Bruce Momjian [EMAIL PROTECTED] writes:
Tom Lane wrote:
Uh, why is that a good idea?
Well, suppose you want all your users to use the same psqlrc file.
Instead of creating symlinks for every user, you can just set PSQLRC in
/etc/profile
In the tradition of telnet, xinit, and others, I've created a patch which
allows users to override the location of .psqlrc by setting the PSQLRC
environment variable. I occurs to me that you have probably considered this
and the fact that it is not implemented suggests that you have rejected the
Seems like a nice feature to me.
---
James Tanis wrote:
In the tradition of telnet, xinit, and others, I've created a patch which
allows users to override the location of .psqlrc by setting the PSQLRC
environment
James Tanis [EMAIL PROTECTED] writes:
In message [EMAIL PROTECTED], Tom Lane avows:
Uh, why is that a good idea?
As you will see, it takes a pretty contrived situation, but indeed I've got
one :-)
I have a software system which can use postgres if the user so wishes. We
have a wrapper
Bruce Momjian [EMAIL PROTECTED] writes:
Tom Lane wrote:
Uh, why is that a good idea?
Well, suppose you want all your users to use the same psqlrc file.
Instead of creating symlinks for every user, you can just set PSQLRC in
/etc/profile and everyone gets it.
... but people who want to make