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

Started by Michael Paquier26 days ago1 messagescomitters
Jump to latest
#1Michael 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 <baji.pgdev@gmail.com>
Discussion: /messages/by-id/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(-)