Re: get rid of psql welcome message - Mailing list pgsql-hackers

From Tom Lane
Subject Re: get rid of psql welcome message
Date
Msg-id 9270.1208619499@sss.pgh.pa.us
Whole thread Raw
In response to Re: get rid of psql welcome message  (Peter Eisentraut <peter_e@gmx.net>)
Responses Re: get rid of psql welcome message
List pgsql-hackers
Peter Eisentraut <peter_e@gmx.net> writes:
> I think everyone will find a mode they like here.

+1.  A marginal style suggestion: if you did
var_welcome_message = GetVariable(pset.vars, "WELCOME_MESSAGE");if (!var_welcome_message)    var_welcome_message = "";

then the subsequent tests would not need null-guards and would become
much more readable IMHO.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: TODO.detail removed
Next
From: Bruce Momjian
Date:
Subject: TODO, FAQs to Wiki?