|
|
|
|
|
by film42
23 days ago
|
|
A thread per connection is a almost always the correct decision for performance, but by choosing a process per connection, postgres is able to let you load whatever sketchy extensions you want. Worst case you crash the process, not the database. It would be nice if you could strike a balance so a segfaul in the extension only crashes a small percentage of connections, not the whole thing. |
|
It does this because it can’t possibly know whether the dying process did bad things to the shared memory pool.