Re: Threading in BGWorkers (!)

Поиск
Список
Период
Сортировка
От James Sewell
Тема Re: Threading in BGWorkers (!)
Дата
Msg-id CAJe2zgNXYFdgRtNNNCofyJZ9LB5N3bEm-NS8Jz5s3ntYv2uSPw@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Threading in BGWorkers (!)  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
I see no good reason to believe that the signal handler issue is the only one.  Even if it is,
not being able to call any postgres infrastructure is a pretty huge
handicap.

(changed emails to get rid of the nasty employer notice...)

It's at least a workable handicap that I'm happy to deal with.

I can say with 100% confidence that people coming from non C languages will be using threading in Postgres backends as interop matures (and it's happening fast now). A lot of the time they won't even know they are using threads as it will be done by libraries they make use of transparently. 

Let's help them to avoid unsafe code now, not wait until they show up on this list with a critical failure and tap at the big sign that says "NO THREADING".

- james

В списке pgsql-hackers по дате отправления:

Предыдущее
От: "imai.yoshikazu@fujitsu.com"
Дата:
Сообщение: RE: [Proposal] Add accumulated statistics for wait event
Следующее
От: Michael Paquier
Дата:
Сообщение: Re: Fix minor source code comment mistake