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 a new global variable MyBackendType that uses the same BackendTypeenum that was previously only used by the stats collector. That wayseveral duplicate ways of checking what type a particular process iscan be simplified. Since it's no longer just for stats, move tomiscinit.c and rename existing functions to match the expandedpurpose.Reviewed-by: Julien Rouhaud <rjuju123@gmail.com>Reviewed-by: Kuntal Ghosh <kuntalghosh.2007@gmail.com>Reviewed-by: Alvaro Herrera <alvherre@2ndquadrant.com>Discussion:https://www.postgresql.org/message-id/flat/c65e5196-4f04-4ead-9353-6088c19615a3@2ndquadrant.com