pgsql: Use placeholders and not GUC names in error message (autovacuum)

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

pgsql: Use placeholders and not GUC names in error message (autovacuum)

От:
Michael Paquier <michael@paquier.xyz>
Дата:
Use placeholders and not GUC names in error message (autovacuum)

A placeholder %s is now used instead of the GUC names in the error
string of this routine.  This is going to be useful for a follow-up
patch, where we will be able to reuse the same string, hence reducing
the translation work.

Based on a suggestion by me.

Author: Baji Shaik 
Discussion: https://postgr.es/m/ajnhfw84reaXgjfO@paquier.xyz

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/7905416eef9b2ad2ff8783330d830ef2c28bef2a

Modified Files
--------------
src/backend/postmaster/autovacuum.c | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)

FAQ