pgsql: On second thought, use an empty string instead of "none" when no

Поиск
Список
Период
Сортировка
От Heikki Linnakangas
Тема pgsql: On second thought, use an empty string instead of "none" when no
Дата
Msg-id E1TvD3h-00005k-QI@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
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.

Branch
------
REL9_2_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/71c53d528568a2ee1e250d452dc5fde3f9e619b6

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


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

Предыдущее
От: Heikki Linnakangas
Дата:
Сообщение: pgsql: Don't pass NULL to fprintf, if not currently connected to a data
Следующее
От: Heikki Linnakangas
Дата:
Сообщение: pgsql: Make \? help message more clear when not connected.