Re: One process per session lack of sharing - Mailing list pgsql-hackers

From Tom Lane
Subject Re: One process per session lack of sharing
Date
Msg-id 20335.1468333134@sss.pgh.pa.us
Whole thread Raw
In response to One process per session lack of sharing  (AMatveev@bitec.ru)
Responses Re: One process per session lack of sharing  (AMatveev@bitec.ru)
Re: One process per session lack of sharing  (Robert Haas <robertmhaas@gmail.com>)
List pgsql-hackers
AMatveev@bitec.ru writes:
> Is  there  any  plan  to  implement  "session  per  thread" or "shared
> sessions between thread"?

No, not really.  The amount of overhead that would add --- eg, the need
for locking on what used to be single-use caches --- makes the benefit
highly questionable.  Also, most people who need this find that sticking
a connection pooler in front of the database solves their problem, so
there's not that much motivation to do a ton of work inside the database
to solve it there.
        regards, tom lane



pgsql-hackers by date:

Previous
From: AMatveev@bitec.ru
Date:
Subject: One process per session lack of sharing
Next
From: AMatveev@bitec.ru
Date:
Subject: Re: One process per session lack of sharing