Quieting the copyright/startup message...

Поиск
Список
Период
Сортировка
От Sean Chittenden
Тема Quieting the copyright/startup message...
Дата
Msg-id B805CD2D-15D7-11D9-BF5A-000A95C705DC@speakeasy.net
обсуждение исходный текст
Ответы Re: Quieting the copyright/startup message...  (Neil Conway <neilc@samurai.com>)
Список 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=#



--
Sean Chittenden

Вложения

В списке pgsql-patches по дате отправления:

Предыдущее
От: Neil Conway
Дата:
Сообщение: pgcrypto: make const array static
Следующее
От: Neil Conway
Дата:
Сообщение: Re: license cleanup