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

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: Cache invalidation after authentication (on-the-fly rolecreation)
Дата
Msg-id 20180703234421.aduuhv7xresrd2s6@alvherre.pgsql
обсуждение исходный текст
Ответ на Cache invalidation after authentication (on-the-fly role creation)  (Thomas Munro <thomas.munro@enterprisedb.com>)
Ответы Re: Cache invalidation after authentication (on-the-fly rolecreation)  (Andres Freund <andres@anarazel.de>)
Список pgsql-hackers
On 2018-Jul-04, Thomas Munro wrote:

> Hello hackers,
> 
> I'd like to do this to postinit.c:
> 
>                 PerformAuthentication(MyProcPort);
> +               AcceptInvalidationMessages();
>                 InitializeSessionUserId(username, useroid);
> 
> Any objections?

Is there a measurable performance overhead to this change?

-- 
Álvaro Herrera                https://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services


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

Предыдущее
От: Srinivas Karthik V
Дата:
Сообщение: Re: Bulk Insert into PostgreSQL
Следующее
От: Andrew Dunstan
Дата:
Сообщение: Re: PATCH: pgbench - option to build using ppoll() for largerconnection counts