From: | Neil Conway <neilc(at)samurai(dot)com> |
---|---|
To: | pgsql-patches(at)postgresql(dot)org |
Subject: | fork() refactoring |
Date: | 2005-03-05 09:32:36 |
Message-ID: | 42297CB4.7040506@samurai.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-patches |
This patch moves all the common code that is usually invoked before
doing a fork() into a single function, fork_process(). It is not aware
of the EXEC_BACKEND machinery, so it should be used as fork() currently
is -- inside an #ifndef EXEC_BACKEND block, if appropriate.
I wasn't sure whether to put this under backend/port, postmaster.c, or
in a separate .c file. This patch places the code in a new file
postmaster/fork_process.c -- suggestions on whether this is the right
location would be welcome.
Barring any objections, I'll apply this to HEAD on Monday.
-Neil
Attachment | Content-Type | Size |
---|---|---|
fork_process_refactor-6.patch | text/x-patch | 15.2 KB |
From | Date | Subject | |
---|---|---|---|
Next Message | Mark Kirkwood | 2005-03-05 09:35:42 | Re: Display Pg buffer cache (WIP) |
Previous Message | Mark Kirkwood | 2005-03-05 01:26:25 | Re: Display Pg buffer cache (WIP) |