Re: Logging function calls to figure out lo_close log entries?
В списке pgsql-general по дате отправления:
| От | Tom Lane |
|---|---|
| Тема | Re: Logging function calls to figure out lo_close log entries? |
| Дата | |
| Msg-id | 29475.1020835570@sss.pgh.pa.us обсуждение исходный текст |
| Ответ на | Logging function calls to figure out lo_close log entries? (Ron Snyder <snyder@roguewave.com>) |
| Список | pgsql-general |
Ron Snyder <snyder@roguewave.com> writes:
> May 7 09:40:08 vault pgqv[13698]: [362] ERROR: lo_close: invalid large obj
> descriptor (0)
This generally suggests that someone is trying to use a LO handle beyond
the end of the transaction in which they did lo_open() --- or more to
the point, they forgot to wrap usage of the handle in a begin/commit
transaction block. But I'm not enough of a JDBC user to be sure what
that translates to on the JDBC side.
> I was wondering if there is anything on the server end that I could
> change to help them track this down.
Turn up the debug level? AFAICT your log includes only some of the
queries that are relevant. Could their application be deliberately
suppressing query log entries, perhaps via PGOPTIONS?
regards, tom lane
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера