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

From Kyotaro Horiguchi
Subject Re: RFC: Logging plan of the running query
Date
Msg-id 20220202.170421.204740592565249296.horikyota.ntt@gmail.com
Whole thread Raw
In response to Re: RFC: Logging plan of the running query  (Kyotaro Horiguchi <horikyota.ntt@gmail.com>)
Responses Re: RFC: Logging plan of the running query  (torikoshia <torikoshia@oss.nttdata.com>)
List pgsql-hackers
At Wed, 02 Feb 2022 16:49:57 +0900 (JST), Kyotaro Horiguchi <horikyota.ntt@gmail.com> wrote in 
> So aren't we able to use ShareUpdateExclusive lock for that?
> 
> In the attached patch, ginInsertCleanup has an extra check for such
> stronger locks not being held.  At least "make check" doesn't cause
> the extra assertion to fire.

Actually, the discussion is a bit dubious. What we need really to
check is wheter such locks are not held on an index *elsewhere*.

regards.

-- 
Kyotaro Horiguchi
NTT Open Source Software Center



pgsql-hackers by date:

Previous
From: Kyotaro Horiguchi
Date:
Subject: Re: RFC: Logging plan of the running query
Next
From: Amit Langote
Date:
Subject: obsolete reference to a SubPlan field