don't use MAKE_PTR/OFFSET for shmem pointers

From: Kris Jurka <books(at)ejurka(dot)com>
To: pgsql-hackers(at)postgresql(dot)org
Subject: don't use MAKE_PTR/OFFSET for shmem pointers
Date: 2008-10-28 20:27:56
Message-ID: Pine.BSO.4.64.0810281622240.9851@leary.csoft.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers


Since we require every process to map the shared memory region to the same
address, we don't need the MAKE_PTR/OFFSET code that was needed when that
was not the case. This patch makes shared memory pointers just like
regular pointers.

http://archives.postgresql.org/pgsql-general/2007-08/msg01510.php

Kris Jurka

Attachment Content-Type Size
shmem-pointers.patch text/plain 40.4 KB

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Simon Riggs 2008-10-28 20:32:11 Re: Re: [COMMITTERS] pgsql: Rework subtransaction commit protocol for hot standby.
Previous Message Grzegorz Jaskiewicz 2008-10-28 20:04:42 Re: current head fails regression tests on mac osx