Re: Fix log_line_prefix to display the transaction id (%x) for statements not in a transaction block

Quan Zongliang <quanzongliang@yeah.net>

From: Quan Zongliang <quanzongliang@yeah.net>
To: jian he <jian.universality@gmail.com>, "Andrey M. Borodin" <x4mmm@yandex-team.ru>
Cc: pgsql-hackers <pgsql-hackers@postgresql.org>
Date: 2024-03-11T01:25:19Z
Lists: pgsql-hackers

On 2024/3/4 15:48, jian he wrote:

> Maybe we can tolerate LOG, first output the query plan then statement.
> 
It is more appropriate to let the extension solve its own problems.
Of course, this change is not easy to implement.
Due to the way XID is assigned, there seems to be no good solution at 
the moment.