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

From Robert Haas
Subject Re: RFC: Logging plan of the running query
Date
Msg-id CA+TgmoZQCVNqR9JnzTPEKAr85Q91L9odhmqGEZuJ6x4V5FJ-ig@mail.gmail.com
Whole thread
In response to Re: RFC: Logging plan of the running query  (Andrei Lepikhov <lepihov@gmail.com>)
Responses Re: RFC: Logging plan of the running query
List pgsql-hackers
On Wed, Jun 24, 2026 at 10:35 AM Andrei Lepikhov <lepihov@gmail.com> wrote:
> 1. pg_log_query_plan - This function just sends a signal. There are no
> guarantees that actual action will be performed. So, the 'request' word makes
> more sense for me.

I don't agree with this particular comment. Of course nothing is
absolutely guaranteed because the database system could crash or the
world could end, but if the target backend is running a query, it
should log the query plan. Therefore, I don't see the need for a word
like "request".

--
Robert Haas
EDB: http://www.enterprisedb.com



pgsql-hackers by date:

Previous
From: Richard Guo
Date:
Subject: plpython: NULL pointer dereference on broken sequence objects
Next
From: Jehan-Guillaume de Rorthais
Date:
Subject: [BUG] ECPG crash with union type