pgsql: Make \? help message more clear when not connected.

From: Heikki Linnakangas <heikki(dot)linnakangas(at)iki(dot)fi>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Make \? help message more clear when not connected.
Date: 2013-01-15 20:24:33
Message-ID: E1TvD3h-00005i-OY@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Make \? help message more clear when not connected.

On second thought, "none" could mislead to think that you're connected a
database with that name. Duplicate the whole string, so that it can be
more easily translated. In back-branches, thought, just use an empty string
in place of the database name, to avoid adding a translatable string.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/8606dd81905a004eda74f0bfa0a9c9c18a488725

Modified Files
--------------
src/bin/psql/help.c | 12 +++++++-----
1 files changed, 7 insertions(+), 5 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Kevin Grittner 2013-01-16 16:48:17 Re: Materialized views WIP patch
Previous Message Heikki Linnakangas 2013-01-15 17:26:52 pgsql: Don't pass NULL to fprintf, if not currently connected to a data