Re: .psqlrc output for \pset commands - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: .psqlrc output for \pset commands
Date
Msg-id 200806121819.m5CIJ4l20087@momjian.us
Whole thread Raw
In response to Re: .psqlrc output for \pset commands  (Neil Conway <neilc@samurai.com>)
List pgsql-hackers
Neil Conway wrote:
> On Wed, 2008-06-11 at 19:24 -0400, Bruce Momjian wrote:
> > Is this desirable?  \set QUIET at the top of .psqlrc fixes it, but I am
> > wondering if we should be automatically doing quiet while .psqlrc is
> > processed.
> 
> There is some precedent for not emitting the messages: most Unix tools
> don't echo the results of applying their .rc files at startup.
> Personally, I run psql frequently but very rarely modify my .psqlrc, so
> seeing "timing is on" and similar messages echoed to the screen is
> almost always noise.

Yea, that was really my point --- our current behavior doesn't match the
way most Unix tools behave when executing startup files.

--  Bruce Momjian  <bruce@momjian.us>        http://momjian.us EnterpriseDB
http://enterprisedb.com
 + If your life is a hard drive, Christ can be your backup. +


pgsql-hackers by date:

Previous
From: Neil Conway
Date:
Subject: Re: .psqlrc output for \pset commands
Next
From: Bruce Momjian
Date:
Subject: Re: Overhauling GUCS