Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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: shmem-pointers.patch
Description: text/plain (40.4 KB)

Responses

pgsql-hackers by date

Next:From: Simon RiggsDate: 2008-10-28 20:32:11
Subject: Re: Re: [COMMITTERS] pgsql: Rework subtransaction commitprotocol for hot standby.
Previous:From: Grzegorz JaskiewiczDate: 2008-10-28 20:04:42
Subject: Re: current head fails regression tests on mac osx

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group