Re: Cache invalidation after authentication (on-the-fly rolecreation)

Поиск
Список
Период
Сортировка
От Andres Freund
Тема Re: Cache invalidation after authentication (on-the-fly rolecreation)
Дата
Msg-id 20180704043557.x4rcpv5ysbe4valj@alap3.anarazel.de
обсуждение исходный текст
Ответ на Re: Cache invalidation after authentication (on-the-fly role creation)  (Thomas Munro <thomas.munro@enterprisedb.com>)
Ответы Re: Cache invalidation after authentication (on-the-fly role creation)  (Thomas Munro <thomas.munro@enterprisedb.com>)
Список pgsql-hackers
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


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Michael Paquier
Дата:
Сообщение: Re: Cache invalidation after authentication (on-the-fly rolecreation)
Следующее
От: Michael Paquier
Дата:
Сообщение: Re: [HACKERS] WAL logging problem in 9.4.3?