Re: Fix the error hint message and test for reset_shared with iso-8859-1 stats type

Поиск
Список
Период
Сортировка
Искать

Re: Fix the error hint message and test for reset_shared with iso-8859-1 stats type

От:
Michael Paquier <michael@paquier.xyz>
Дата:
Вложения:
On Tue, Apr 28, 2026 at 08:18:21PM +0500, Maksim Logvinenko wrote:
> The existing error hint message and test were missing the fact that
> recently added new lock stats kind.
>
> @@ -1987,7 +1987,7 @@ pg_stat_reset_shared(PG_FUNCTION_ARGS)
>  		ereport(ERROR,
>  				(errcode(ERRCODE_INVALID_PARAMETER_VALUE),
>  				 errmsg("unrecognized reset target: \"%s\"", target),
> -				 errhint("Target must be \"archiver\", \"bgwriter\", \"checkpointer\", \"io\", \"recovery_prefetch\", \"slru\", or \"wal\".")));
> +				 errhint("Target must be \"archiver\", \"bgwriter\", \"checkpointer\", \"io\", \"lock\", \"recovery_prefetch\", \"slru\", or \"wal\".")));

Right, thanks for the report, Maksim.  I'll fix it later.
--
Michael

Re: Fix the error hint message and test for reset_shared with iso-8859-1 stats type

От:
Michael Paquier <michael@paquier.xyz>
Дата:
Вложения:
On Wed, Apr 29, 2026 at 08:12:04AM +0900, Michael Paquier wrote:
> Right, thanks for the report, Maksim.  I'll fix it later.

And done.
--
Michael
FAQ