Re: Patch: show relation and tuple infos of a lock to acquire - Mailing list pgsql-hackers

From Christian Kruse
Subject Re: Patch: show relation and tuple infos of a lock to acquire
Date
Msg-id 20140101100433.GG25649@defunct.ch
Whole thread Raw
In response to Re: Patch: show relation and tuple infos of a lock to acquire  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
On 31/12/13 11:36, Tom Lane wrote:
> Christian's idea of a context line seems plausible to me.  I don't
> care for this implementation too much --- a global variable?  Ick.
> Make a wrapper function for XactLockTableWait instead, please.

Point taken. You are right.

> And I'm not real sure that showing the whole tuple contents is a good
> thing; I can see people calling that a security leak, not to mention
> that the performance consequences could be dire.

What do you suggest to include? Having some information to identify
the tuple may be very helpful for debugging. This is why I did it this
way.

Regards,

-- Christian Kruse               http://www.2ndQuadrant.com/PostgreSQL Development, 24x7 Support, Training & Services


pgsql-hackers by date:

Previous
From: Christian Kruse
Date:
Subject: Re: Patch: show relation and tuple infos of a lock to acquire
Next
From: Simon Riggs
Date:
Subject: Re: Patch: show relation and tuple infos of a lock to acquire