Re: RFC: Logging plan of the running query - Mailing list pgsql-hackers

From Étienne BERSAC
Subject Re: RFC: Logging plan of the running query
Date
Msg-id 7bc1cc1bcc3289e9354ebb00ac1c8440c01b736c.camel@dalibo.com
Whole thread Raw
In response to Re: RFC: Logging plan of the running query  (torikoshia <torikoshia@oss.nttdata.com>)
Responses Re: RFC: Logging plan of the running query  (torikoshia <torikoshia@oss.nttdata.com>)
List pgsql-hackers
Hi Torikoshia,

> If so, we once tried to implement such function for getting memory
> contexts.
> However, this attempt didn't succeed because it could lead dead lock
> situation[1].

Thanks for the pointer. Why not use client log message to allow client
to get plan without locking backend memory context and without access
to server log ? I missed the rationnal for not sending the plan to
client.

Regards,
Étienne



pgsql-hackers by date:

Previous
From: Philip Warner
Date:
Subject: RE: pg_dump not dumping the run_as_owner setting from version 16?
Next
From: Étienne BERSAC
Date:
Subject: Re: run pgindent on a regular basis / scripted manner