Re: Why plpython functions increase transaction counter much more then plpgsql functions?

2024-11-08 Thread Michał Albrycht
an catch any > error. In this example, each subtransaction will consume an XID. > > That makes sense. Thank you very much. Regards, Michał Albrycht

Why plpython functions increase transaction counter much more then plpgsql functions?

2024-11-08 Thread Michał Albrycht
er much more. Does anyone know why? Is there anything I can do about it? What's interesting it happens only if the function called by plpyhon makes changes to DB. When I replace `INSERT INTO insert_rows_table SELECT i;` with `SELECT i` both plpython and plpgsql functions behave the same. Regards, Michał Albrycht