Re: BUG #17840: Failing to execute auto_explain for logging leads to transaction rollback.

Поиск
Список
Период
Сортировка
От Sébastien
Тема Re: BUG #17840: Failing to execute auto_explain for logging leads to transaction rollback.
Дата
Msg-id CANtq+vTyx4d=YmiiB-tTL=QSh6hB7ADwapQfpenEGL9NMVG=rw@mail.gmail.com
обсуждение исходный текст
Ответ на Re: BUG #17840: Failing to execute auto_explain for logging leads to transaction rollback.  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-bugs
Thank you for your answers.  

Now I understand the problem have been understood.

Oracle_fdw author is working on this.

Best regards 

Le mer. 15 mars 2023, 23:06, Tom Lane <tgl@sss.pgh.pa.us> a écrit :
"David G. Johnston" <david.g.johnston@gmail.com> writes:
> A query you can execute should be incapable of failing if EXPLAIN for the
> same query is issued.

Indeed.  This should be especially true for auto_explain, which isn't
even doing a re-parse or re-plan, but just dumping data from the
executor state tree for the just-finished query.  Barring edge cases
like out-of-memory, it really shouldn't fail; so I see no reason why
we should consider major structural changes to make it (perhaps) less
likely to fail.

I continue to think that the most likely explanation is oracle_fdw
doing something it probably shouldn't be doing.  I have no interest
in poking into that code myself, though.

                        regards, tom lane

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

Предыдущее
От: Kyotaro Horiguchi
Дата:
Сообщение: Re: pg_read_server_files doesn't let me use pg_ls_dir() or pg_read_file?
Следующее
От: PG Bug reporting form
Дата:
Сообщение: BUG #17845: insert into on conflict bug .