You signed in with another tab or window.Reload to refresh your session.You signed out in another tab or window.Reload to refresh your session.You switched accounts on another tab or window.Reload to refresh your session.Dismiss alert
Add bgw_type field to background worker structure. It is intended to beset to the same value for all workers of the same type, so they can begrouped in pg_stat_activity, for example.The backend_type column in pg_stat_activity now shows bgw_type for abackground worker. The ps listing also no longer calls out that aprocess is a background worker but just show the bgw_type. That way,being a background worker is more of an implementation detail now thatis not shown to the user. However, most log messages still refer to'background worker "%s"'; otherwise constructing sensible andtranslatable log messages would become tricky.Reviewed-by: Michael Paquier <michael.paquier@gmail.com>Reviewed-by: Daniel Gustafsson <daniel@yesql.se>