Re: Augmenting the deadlock message with application_name

2024-05-10 Thread Karoline Pauls
On Friday, 10 May 2024 at 20:17, Bruce Momjian wrote: > > log_line_prefix supports application name --- why would you not use > that? > log_line_prefix is effective in the server log. This change is mostly about improving the message sent back to the client. While the server log is also changed

Augmenting the deadlock message with application_name

2024-05-10 Thread Karoline Pauls
uot;(application_name: )" with something better like "(unknown application_name)", or even nothing. Attached patch is for master, 2fb7560c. It doesn't contain any tests. Let me know if you approve of the patch and if it makes sense to continue working on it. Best, KarolineFr