On Wed, Nov 18, 2020 at 5:25 PM Heikki Linnakangas wrote:
> On 11/08/2020 03:41, Andres Freund wrote:
> > On 2020-08-10 18:27:17 -0400, Robert Haas wrote:
> >> On Tue, Jun 2, 2020 at 8:25 AM Drouvot, Bertrand
> wrote:
> >>> the patch adds into the LWLock struct:
> >>>
> >>>
On 11/08/2020 03:41, Andres Freund wrote:
On 2020-08-10 18:27:17 -0400, Robert Haas wrote:
On Tue, Jun 2, 2020 at 8:25 AM Drouvot, Bertrand wrote:
the patch adds into the LWLock struct:
last_holding_pid: last pid owner of the lock
last_mode: last hold
On Wed, Aug 12, 2020 at 5:39 PM Andres Freund wrote:
> Attached. Needed one python3 fix, and to be adapted so it works with
> futex based semaphores. Seems to work for both sysv and posix semaphores
> now, based a very short test.
Great, thanks!
--
Peter Geoghegan
Hi,
On 2020-08-12 16:47:13 -0700, Peter Geoghegan wrote:
> On Mon, Aug 10, 2020 at 5:41 PM Andres Freund wrote:
> > Most of the cases where this kind of information really is interesting
> > seem to benefit a lot from having stack information available. That
> > obviously has overhead, so we don
On Mon, Aug 10, 2020 at 5:41 PM Andres Freund wrote:
> Most of the cases where this kind of information really is interesting
> seem to benefit a lot from having stack information available. That
> obviously has overhead, so we don't want the cost all the
> time. The script at
> https://postgr.e
Hi,
On 2020-08-10 18:27:17 -0400, Robert Haas wrote:
> On Tue, Jun 2, 2020 at 8:25 AM Drouvot, Bertrand wrote:
> > the patch adds into the LWLock struct:
> >
> > last_holding_pid: last pid owner of the lock
> > last_mode: last holding mode of the last pid o
On Tue, Jun 2, 2020 at 8:25 AM Drouvot, Bertrand wrote:
> the patch adds into the LWLock struct:
>
> last_holding_pid: last pid owner of the lock
> last_mode: last holding mode of the last pid owner of the
> lock
> nholders: number of ho
Hi,
This is a very interesting topic. I did apply the 2nd patch to master branch
and performed a quick test. I can observe below information,
postgres=# select * from pg_lwlock_blocking_pid(26925);
requested_mode | last_holder_pid | last_holder_mode | nb_holders
+---