From: | Sean Chittenden <chitt(at)speakeasy(dot)net> |
---|---|
To: | PostgreSQL-patches <pgsql-patches(at)postgresql(dot)org> |
Subject: | Quieting the copyright/startup message... |
Date: | 2004-10-04 07:33:43 |
Message-ID: | B805CD2D-15D7-11D9-BF5A-000A95C705DC@speakeasy.net |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-patches |
After seeing the "Welcome to psql 8.0.0beta3, the PostgreSQL
interactive terminal." message, I finally got irritated enough at it to
try and figure out how to silence it without using the -q option to
psql(1). The attached (trivial) patch fixes said problem so that one
can add "\set QUIET" to their ~/.psqlrc and have psql not print out
their favorite database shell greeting.
This patch, while a feature (albeit minor), is low risk and I'd love to
see it added to 8.X. :) -sc
echo '\set QUIET' >> ~/.psqlrc
% cat ~/.psqlrc
\timing
\set QUIET
% psql foo
foo=#
Attachment | Content-Type | Size |
---|---|---|
patch.txt | text/plain | 1.4 KB |
From | Date | Subject | |
---|---|---|---|
Next Message | Neil Conway | 2004-10-04 07:35:13 | Re: license cleanup |
Previous Message | Neil Conway | 2004-10-04 05:23:29 | pgcrypto: make const array static |