Re: Multiple Xids in PGPROC?

Tom Lane <tgl@sss.pgh.pa.us>

From: Tom Lane <tgl@sss.pgh.pa.us>
To: Alvaro Herrera <alvherre@dcc.uchile.cl>
Cc: Hackers <pgsql-hackers@postgresql.org>
Date: 2004-05-05T03:21:07Z
Lists: pgsql-hackers
Alvaro Herrera <alvherre@dcc.uchile.cl> writes:
> So, the big question is, how do we do this?  The most obvious way (to
> me) is to keep the whole array inside the PGPROC struct.
> ...
> The main downside is that it potentially
> requires a lot of shared memory.  Can we afford that?

No.  Shared memory is fixed size, therefore the above is guaranteed to
fail.

I thought we had devised a solution that did not require expansible
shared memory for this.  Bruce, Manfred, do you recall how that went?

			regards, tom lane