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

From: Quan Zongliang <quanzongliang(at)yeah(dot)net>
To: jian he <jian(dot)universality(at)gmail(dot)com>, "Andrey M(dot) Borodin" <x4mmm(at)yandex-team(dot)ru>
Cc: pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Fix log_line_prefix to display the transaction id (%x) for statements not in a transaction block
Date: 2024-03-11 01:25:19
Message-ID: 3df5bc3f-383b-4286-a4a5-d1c85bc0d7fe@yeah.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
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.

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Alexander Korotkov 2024-03-11 02:24:57 Re: Stack overflow issue
Previous Message Sutou Kouhei 2024-03-11 00:56:24 Re: Make COPY format extendable: Extract COPY TO format implementations