Christopher Kings-Lynne <[EMAIL PROTECTED]> writes: > Just random speculation, but could we use a pg_subtrans-like setup to do > row share locks?
pg_subtrans is trivial to index --- it's a linear array subscripted by TransactionId. I'm not sure what we'd do to handle row locks, which would need a key like (DBoid, RELoid, BlockNum, LineNum) and would be extremely non-dense in that space. 'Tis something to think about though... regards, tom lane ---------------------------(end of broadcast)--------------------------- TIP 2: you can get off all lists at once with the unregister command (send "unregister YourEmailAddressHere" to [EMAIL PROTECTED])