Re: display hot standby state in psql prompt

Поиск
Список
Период
Сортировка
От Jim Jones
Тема Re: display hot standby state in psql prompt
Дата
Msg-id bc9be152-ca08-41f1-800f-d78fd38c75cb@uni-muenster.de
обсуждение исходный текст
Ответ на Re: display hot standby state in psql prompt  (Fujii Masao <masao.fujii@gmail.com>)
Список pgsql-hackers

On 27/10/2025 04:32, Fujii Masao wrote:
> I think the "hs &&" and "ro &&" checks are no longer needed,
> since we've already confirmed they're not NULL at that point.

Right. Checks removed.

> Also, should "unknown" be marked for translation, as in the \conninfo code?
> I'm not sure whether showing a translated string in the psql prompt is
> desirable, though.

Here I am not sure if it's applicable. In this file there are other
strings that are not marked for translation, "abort", "on", "off". I
changed the string to _("unknown") for now, but we can remove it in
further iterations if we agree it's not desirable :)

v5 attached.

Thanks for the review.

Best, Jim


Вложения

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