Re: .psqlrc output for \pset commands

From: Bruce Momjian <bruce(at)momjian(dot)us>
To: Neil Conway <neilc(at)samurai(dot)com>
Cc: PostgreSQL-development <pgsql-hackers(at)postgreSQL(dot)org>
Subject: Re: .psqlrc output for \pset commands
Date: 2008-06-12 18:19:04
Message-ID: 200806121819.m5CIJ4l20087@momjian.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)momjian(dot)us> http://momjian.us
EnterpriseDB http://enterprisedb.com

+ If your life is a hard drive, Christ can be your backup. +

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2008-06-12 18:21:00 Re: Overhauling GUCS
Previous Message Neil Conway 2008-06-12 18:10:12 Re: .psqlrc output for \pset commands