Re: [HACKERS] background sessions
От | Andrew Borodin |
---|---|
Тема | Re: [HACKERS] background sessions |
Дата | |
Msg-id | CAJEAwVHkte0fak8SinP=ZQgCyHPTdf2BPi52h6RGZ4CbKi0b3w@mail.gmail.com обсуждение исходный текст |
Ответ на | background sessions (Peter Eisentraut <peter.eisentraut@2ndquadrant.com>) |
Ответы |
Re: [HACKERS] background sessions
Re: [HACKERS] background sessions |
Список | pgsql-hackers |
Hi! I'm planning to review this patch. I have some questions, maybe answers could help me understand patch better. 1. As far as I can see, we connot use COPY FROM STDIN in bg session? Since one of purposes is to orchestrate transactions, may be that would be valuable. 2. From my point of view the interface of the feature is the strong point here (compared to pg_background). But it does not help programmer to follow good practice: bgworker is a valuable and limited resource, may be we could start session with something like TryBeginSession()? May be this violates some policies or idioms which I'm not aware of. Thank you for your work. Best regards, Andrey Borodin.
В списке pgsql-hackers по дате отправления: