pg 13 fatal error message mentionning "standby_mode"

Started by Phil Florentalmost 5 years ago4 messagesgeneral
Jump to latest
#1Phil Florent
philflorent@hotmail.com

Hi,

I had forgotten to include a restore_command and my standby database did not start (expected behavior) but the error message puzzled me :

select version();

version

-------------------------------------------------------------------------------------------------------------------

PostgreSQL 13.2 (Debian 13.2-1) on x86_64-pc-linux-gnu, compiled by gcc (Debian 10.2.1-6) 10.2.1 20210110, 64-bit

(1 ligne)

juin 08 11:50:26 sv-t-vtl-bas06 postgresql@13-echange_p[2921]: 2021-06-08 11:50:26.666 CEST [2927] FATAL: doit spécifier une restore_command quand standby_mode n'est pas activé

It's in French but it means I have to specify restore_command if standby_mode is not activated.

It's a pg 13 cluster and standby_mode parameter was removed with pg 12+ ? Perhaps the French translation is wrong ?

Best regards,

Phil

#2Guillaume Lelarge
guillaume@lelarge.info
In reply to: Phil Florent (#1)
Re: pg 13 fatal error message mentionning "standby_mode"

Hi,

Le mar. 8 juin 2021 à 12:11, Phil Florent <philflorent@hotmail.com> a
écrit :

Hi,

I had forgotten to include a restore_command and my standby database did
not start (expected behavior) but the error message puzzled me :

select version();

version

-------------------------------------------------------------------------------------------------------------------

PostgreSQL 13.2 (Debian 13.2-1) on x86_64-pc-linux-gnu, compiled by gcc
(Debian 10.2.1-6) 10.2.1 20210110, 64-bit

(1 ligne)

juin 08 11:50:26 sv-t-vtl-bas06 postgresql@13-echange_p[2921]: 2021-06-08
11:50:26.666 CEST [2927] *FATAL: doit spécifier une restore_command
quand standby_mode n'est pas activé*

It's in French but it means I have to specify restore_command if
standby_mode is not activated.

It's a pg 13 cluster and standby_mode parameter was removed with pg 12+ ?
Perhaps the French translation is wrong ?

The translation is wrong. The original message is "must specify
restore_command when standby mode is not enabled". There's no underscore
between standby and mode, so it isn't the parameter. I must have missed
that change during the translation. I'll fix it right away.

Thanks.

Regards.

--
Guillaume.

#3Guillaume Lelarge
guillaume@lelarge.info
In reply to: Guillaume Lelarge (#2)
Re: pg 13 fatal error message mentionning "standby_mode"

Le mar. 8 juin 2021 à 13:15, Guillaume Lelarge <guillaume@lelarge.info> a
écrit :

Hi,

Le mar. 8 juin 2021 à 12:11, Phil Florent <philflorent@hotmail.com> a
écrit :

Hi,

I had forgotten to include a restore_command and my standby database did
not start (expected behavior) but the error message puzzled me :

select version();

version

-------------------------------------------------------------------------------------------------------------------

PostgreSQL 13.2 (Debian 13.2-1) on x86_64-pc-linux-gnu, compiled by gcc
(Debian 10.2.1-6) 10.2.1 20210110, 64-bit

(1 ligne)

juin 08 11:50:26 sv-t-vtl-bas06 postgresql@13-echange_p[2921]:
2021-06-08 11:50:26.666 CEST [2927] *FATAL: doit spécifier une
restore_command quand standby_mode n'est pas activé*

It's in French but it means I have to specify restore_command if
standby_mode is not activated.

It's a pg 13 cluster and standby_mode parameter was removed with pg 12+ ?
Perhaps the French translation is wrong ?

The translation is wrong. The original message is "must specify
restore_command when standby mode is not enabled". There's no underscore
between standby and mode, so it isn't the parameter. I must have missed
that change during the translation. I'll fix it right away.

Done.

--
Guillaume.

#4Phil Florent
philflorent@hotmail.com
In reply to: Guillaume Lelarge (#3)
RE: pg 13 fatal error message mentionning "standby_mode"

Thanks Guillaume. After this change the error message will even be clearer in French than in the original version in fact.
Regards,
Phil

________________________________
De : Guillaume Lelarge <guillaume@lelarge.info>
Envoyé : mardi 8 juin 2021 13:21
À : Phil Florent <philflorent@hotmail.com>
Cc : pgsql-general@postgresql.org <pgsql-general@postgresql.org>
Objet : Re: pg 13 fatal error message mentionning "standby_mode"

Le mar. 8 juin 2021 à 13:15, Guillaume Lelarge <guillaume@lelarge.info<mailto:guillaume@lelarge.info>> a écrit :
Hi,

Le mar. 8 juin 2021 à 12:11, Phil Florent <philflorent@hotmail.com<mailto:philflorent@hotmail.com>> a écrit :
Hi,

I had forgotten to include a restore_command and my standby database did not start (expected behavior) but the error message puzzled me :

select version();

version

-------------------------------------------------------------------------------------------------------------------

PostgreSQL 13.2 (Debian 13.2-1) on x86_64-pc-linux-gnu, compiled by gcc (Debian 10.2.1-6) 10.2.1 20210110, 64-bit

(1 ligne)

juin 08 11:50:26 sv-t-vtl-bas06 postgresql@13-echange_p[2921]: 2021-06-08 11:50:26.666 CEST [2927] FATAL: doit spécifier une restore_command quand standby_mode n'est pas activé

It's in French but it means I have to specify restore_command if standby_mode is not activated.

It's a pg 13 cluster and standby_mode parameter was removed with pg 12+ ? Perhaps the French translation is wrong ?

The translation is wrong. The original message is "must specify restore_command when standby mode is not enabled". There's no underscore between standby and mode, so it isn't the parameter. I must have missed that change during the translation. I'll fix it right away.

Done.

--
Guillaume.