| От | Tom Lane |
|---|---|
| Тема | Re: Patch to check whether we are in TX when to lo_* |
| Дата | |
| Msg-id | 7104.973272785@sss.pgh.pa.us обсуждение |
| Ответ на | Patch to check whether we are in TX when to lo_* (Denis Perchine <dyp@perchine.com>) |
| Ответы |
Re: Patch to check whether we are in TX when to lo_*
|
| Список | pgsql-patches |
Denis Perchine <dyp@perchine.com> writes:
> here is the patch attached which do check in each BLOB operation, if
> we are in transaction, and raise an error otherwise. This will prevent
> such mistakes.
Hmm. I'm not sure if this is a good idea, or just overprotective
nannyism. Comments anyone?
As is, it's certainly undesirable because it will break backend
lo_export and lo_import, neither of which need to be in an xact block.
Perhaps that could be worked around somehow, but is it worth the
trouble?
regards, tom lane
В списке pgsql-patches по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера