Improve errdetail message added by ac0e33136a.

Make it consistent with other similar messages.

Author: Kyotaro Horiguchi <horikyota.ntt@gmail.com>
Reviewed-by: Hayato Kuroda <kuroda.hayato@fujitsu.com>
Discussion: https://postgr.es/m/20250220.140839.1444694904721968348.horikyota.ntt@gmail.com
This commit is contained in:
Amit Kapila 2025-02-20 14:02:29 +05:30
parent 525392d572
commit 7da344b9f8

View File

@ -2986,7 +2986,7 @@ check_idle_replication_slot_timeout(int *newval, void **extra, GucSource source)
{ {
if (IsBinaryUpgrade && *newval != 0) if (IsBinaryUpgrade && *newval != 0)
{ {
GUC_check_errdetail("The value of \"%s\" must be set to 0 during binary upgrade mode.", GUC_check_errdetail("\"%s\" must be set to 0 during binary upgrade mode.",
"idle_replication_slot_timeout"); "idle_replication_slot_timeout");
return false; return false;
} }