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

pgsql: Send paramHandle to subprocesses as 64-bit on Win64

From: Magnus Hagander <magnus(at)hagander(dot)net>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Send paramHandle to subprocesses as 64-bit on Win64
Date: 2010-11-16 11:45:12
Message-ID: E1PIJyK-0004Ie-3l@gemulon.postgresql.org (view raw or flat)
Thread:
Lists: pgsql-committers
Send paramHandle to subprocesses as 64-bit on Win64

The handle to the shared memory segment containing startup
parameters was sent as 32-bit even on 64-bit systems. Since
HANDLEs appear to be allocated sequentially this shouldn't
be a problem until we reach 2^32 open handles in the postmaster,
but a 64-bit value should be sent across as 64-bit, and not
zero out the top 32 bits.

Noted by Tom Lane.

Branch
------
REL9_0_STABLE

Details
-------
http://git.postgresql.org/gitweb?p=postgresql.git;a=commitdiff;h=d3f62f232fc874efb22a06b2fd370eefa5f62790

Modified Files
--------------
src/backend/postmaster/postmaster.c |    8 ++++++++
1 files changed, 8 insertions(+), 0 deletions(-)

pgsql-committers by date

Next:From: Peter EisentrautDate: 2010-11-16 21:41:33
Subject: Re: [COMMITTERS] pgsql: Improved parallel make support
Previous:From: Heikki LinnakangasDate: 2010-11-16 09:42:36
Subject: pgsql: The GiST scan algorithm uses LSNs to detect concurrent pagesspl

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