Re: [COMMITTERS] pgsql-server: Rearrange pg_subtrans handling as

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Christopher Kings-Lynne <chriskl(at)familyhealth(dot)com(dot)au>
Cc: Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: [COMMITTERS] pgsql-server: Rearrange pg_subtrans handling as
Date: 2004-08-24 03:02:01
Message-ID: 27284.1093316521@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers pgsql-hackers

Christopher Kings-Lynne <chriskl(at)familyhealth(dot)com(dot)au> 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

In response to

Responses

Browse pgsql-committers by date

  From Date Subject
Next Message Alvaro Herrera 2004-08-24 03:41:53 Re: pgsql-server: Rearrange pg_subtrans handling as
Previous Message Christopher Kings-Lynne 2004-08-24 01:17:59 Re: [COMMITTERS] pgsql-server: Rearrange pg_subtrans handling as

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2004-08-24 03:21:28 Re: auto-casting a bit more intelligent in 8.0 ... ?
Previous Message Tom Lane 2004-08-24 02:57:22 Re: 8.0 beta 1 on linux-mipsel R5900