Hi
> If amatveev (username, unsure of full name) wants to improve
> PL/PgSQL performance and the ability of a JVM to share resources
> between backends, then it would be more productive to focus on that than on threading.
Note, I've statred this post with
https://www.postgresql.org/message-id/flat/409604420.20160711111532%40bitec.ru#409604420.20160711111532@bitec.ru
Oracle: about 5M
MSSqlServer: about 4M
postgreSql: about 160М
It's 11K loc of pgSql.
And our code base is more than 4000k(for pgSql) lines of code.