On 2018-07-04 16:25:18 +1200, Thomas Munro wrote:
> @@ -745,6 +746,7 @@ InitPostgres(const char *in_dbname, Oid dboid, const char *username,
> /* normal multiuser case */
> Assert(MyProcPort != NULL);
> PerformAuthentication(MyProcPort);
> + AcceptInvalidationMessages();
> InitializeSessionUserId(username, useroid);
> am_superuser = superuser();
FWIW, a comment explaining why it's done there seems appropriate.
- Andres