Re: Cache invalidation after authentication (on-the-fly rolecreation) - Mailing list pgsql-hackers

From Alvaro Herrera
Subject Re: Cache invalidation after authentication (on-the-fly rolecreation)
Date
Msg-id 20180703234421.aduuhv7xresrd2s6@alvherre.pgsql
Whole thread Raw
In response to Cache invalidation after authentication (on-the-fly role creation)  (Thomas Munro <thomas.munro@enterprisedb.com>)
Responses Re: Cache invalidation after authentication (on-the-fly rolecreation)  (Andres Freund <andres@anarazel.de>)
List 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 by date:

Previous
From: Srinivas Karthik V
Date:
Subject: Re: Bulk Insert into PostgreSQL
Next
From: Andrew Dunstan
Date:
Subject: Re: PATCH: pgbench - option to build using ppoll() for largerconnection counts