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
The init_ps_display() arguments were mostly lies by now, so to matchtypical usage, just use one argument and let the caller assemble itfrom multiple sources if necessary. The only user of the additionalarguments is BackendInitialize(), which was already doing stringassembly on the caller side anyway.Remove the second argument of set_ps_display() ("force") and justhandle that in init_ps_display() internally.BackendInitialize() also used to set the initial status as"authentication", but that was very far from where authenticationactually happened. So now it's set to "initializing" and then"authentication" just before the actual call toClientAuthentication().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