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

From AMatveev@bitec.ru
Subject Re: One process per session lack of sharing
Date
Msg-id 1572266830.20160714114107@bitec.ru
Whole thread Raw
In response to Re: One process per session lack of sharing  (Robert Haas <robertmhaas@gmail.com>)
Responses Re: One process per session lack of sharing  (Craig Ringer <craig@2ndquadrant.com>)
List pgsql-hackers
Hi

> On Tue, Jul 12, 2016 at 9:18 AM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
>> AMatveev@bitec.ru writes:
>>> Is  there  any  plan  to  implement  "session  per  thread" or "shared
>>> sessions between thread"?
>>...
>> so
>> there's not that much motivation to do a ton of work inside the database
>> to solve it there.

> I agree that there's not really a plan to implement this, but I don't
> ...

> So, I actually think it would be a good idea to think about this.

I just want to note that converting global variables to  thread-specific variables.
It's large work offcourse.
But it's not seemed to be a ton of work.
And it's the most part of refactoring for  "session  per  thread".
Offcourse that's not all.
But it  seemed to be the most valuable reason not to do that work.







pgsql-hackers by date:

Previous
From: Michael Paquier
Date:
Subject: Re: Issue in pg_catalog.pg_indexes view definition
Next
From: Artur Zakirov
Date:
Subject: Re: Bug in to_timestamp().