Peter Eisentraut wrote:
> Bruce Momjian wrote:
> > Applied.
>
> Replace rename it to psqlrc instead of psql.rc.
Yea, I debated psql.rc and psqlrc, but chose psql.rc. If you like
psqlrc better, that's fine with me. Patch attached and applied.
--
Bruce Momjian| http:/
Bruce Momjian wrote:
> Applied.
Replace rename it to psqlrc instead of psql.rc.
---(end of broadcast)---
TIP 8: explain analyze is your friend
Applied.
---
Bruce Momjian wrote:
> 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 s
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 dir
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?
>
> The ones I know of
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 gen
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 e
In message <[EMAIL PROTECTED]>, Tom Lane avows:
%--- Begin Cite ---%
> But if they do have their own .psqlrc, doesn't that mean that you fail
> to apply the change you need? It seems like this mechanism doesn't
If they have their own, then I trust them to do what they want (ie they can
then add
In message <[EMAIL PROTECTED]>, Tom Lane avows:
%--- Begin Cite ---%
> James Tanis <[EMAIL PROTECTED]> writes:
> > In the tradition of telnet, xinit, and others, I've created a patch wh
> ich
> > allows users to override the location of .psqlrc by setting the PSQLRC
> > environment variable.
>
>
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
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 and everyone gets
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
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 wr
Tom Lane wrote:
> James Tanis <[EMAIL PROTECTED]> writes:
> > 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.
>
> Uh, why is that a good idea?
Well, suppose you want all
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 va
James Tanis <[EMAIL PROTECTED]> writes:
> 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.
Uh, why is that a good idea?
regards, tom lane
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
i
17 matches
Mail list logo