]> granicus.if.org Git - postgresql/commit
On second thought, use an empty string instead of "none" when not connected.
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>
Tue, 15 Jan 2013 20:09:41 +0000 (22:09 +0200)
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>
Tue, 15 Jan 2013 20:14:25 +0000 (22:14 +0200)
commit46dc33fb2fa6df5748f882a5bf98631373666956
tree94ed129b7eab5ebc8dddeee3a990b37bec3f7a49
parent63b0b397c7781b429eda1f4e294dce4cdf12cac7
On second thought, use an empty string instead of "none" when not connected.

"none" could mislead to think that you're connected a database with that
name. Also, it needs to be translated, which might be hard without some
context. So in back-branches, use empty string, so that the message is
(currently ""), which is at least unambiguous and doens't require
translation. In master, it's no problem to add translatable strings, so use
a different fix there.
src/bin/psql/help.c