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

fork/exec problem: DynaHashCxt

From: Claudio Natoli <claudio(dot)natoli(at)memetrics(dot)com>
To: "'pgsql-hackers(at)postgresql(dot)org'" <pgsql-hackers(at)postgresql(dot)org>
Cc: 'PostgreSQL Win32 port list' <pgsql-hackers-win32(at)postgresql(dot)org>
Subject: fork/exec problem: DynaHashCxt
Date: 2003-12-03 01:36:59
Message-ID: A02DEC4D1073D611BAE8525405FCCE2B028063@harris.memetrics.local (view raw or flat)
Thread:
Lists: pgsql-hackerspgsql-hackers-win32
Hi all,

I'm working on getting BackendFork converted to a fork/exec model, and have
hit the following wall.

All the ShmemInitHash structures are allocated using DynaHashCxt. Clearly,
this context is going to have to be shared across backends in the fork/exec
case, but I can't see a non-trivial way of doing so.

Any ideas? (or have I mis-diagnosed the problem completely)

Cheers,
Claudio

--- 
Certain disclaimers and policies apply to all email sent from Memetrics.
For the full text of these disclaimers and policies see 
<a
href="http://www.memetrics.com/emailpolicy.html">http://www.memetrics.com/em
ailpolicy.html</a>

Responses

pgsql-hackers by date

Next:From: David FetterDate: 2003-12-03 01:52:57
Subject: Inside the Regex Engine
Previous:From: Marc G. FournierDate: 2003-12-02 23:43:01
Subject: Re: request for feedback - read-only GUC variables,

pgsql-hackers-win32 by date

Next:From: Tom LaneDate: 2003-12-03 04:12:04
Subject: Re: [HACKERS] fork/exec problem: DynaHashCxt
Previous:From: Andrew DunstanDate: 2003-12-02 18:56:04
Subject: Re: [pgsql-hackers-win32] What packages from Mingw and MSys are needed?

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