Re: Let's make PostgreSQL multi-threaded

Tatsuo Ishii <ishii@sraoss.co.jp>

From: Tatsuo Ishii <ishii@sraoss.co.jp>
To: andrew@dunslane.net
Cc: tgl@sss.pgh.pa.us, hlinnaka@iki.fi, pgsql-hackers@postgresql.org
Date: 2023-06-06T01:30:05Z
Lists: pgsql-hackers
>> For the record, I think this will be a disaster.  There is far too
>> much
>> code that will get broken, largely silently, and much of it is not
>> under our control.
>>
>> 			
> 
> 
> If we were starting out today we would probably choose a threaded
> implementation. But moving to threaded now seems to me like a
> multi-year-multi-person project with the prospect of years to come
> chasing bugs and the prospect of fairly modest advantages. The risk to
> reward doesn't look great.

+1.

Long time ago (PostgreSQL 7 days) I modified PostgreSQL to threaded
implementation so that it runs on Windows because there's was no
Windows port of PostgreSQL at that time. I don't remember the details
but it was desperately hard for me.

Best reagards,
--
Tatsuo Ishii
SRA OSS LLC
English: http://www.sraoss.co.jp/index_en/
Japanese:http://www.sraoss.co.jp