| От | Tom Lane |
|---|---|
| Тема | Re: Hot Standby and cancelling idle queries |
| Дата | |
| Msg-id | 19523.1259166343@sss.pgh.pa.us обсуждение исходный текст |
| Ответ на | Hot Standby and cancelling idle queries (Simon Riggs <simon@2ndQuadrant.com>) |
| Ответы |
Re: Hot Standby and cancelling idle queries
|
| Список | pgsql-hackers |
Simon Riggs <simon@2ndQuadrant.com> writes:
> An idle-in-transaction transaction can also hold a temporary file. Think
> of an open cursor, for example. Therefore, remove the distinction
> between CONFLICT_MODE_ERROR and CONFLICT_MODE_ERROR_IF_NOT_IDLE,
> idle-in-transaction backends need to be killed too when a tablespace is
> dropped.
Um ... I think you have forgotten about WITH HOLD cursors, which will
also have temp files. Implication: whatever you are thinking of here
would require killing EVERY session. Conclusion: you need a different
design.
regards, tom lane
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера