diff options
| author | Neil Conway <neilc@samurai.com> | 2005-03-10 07:14:03 +0000 |
|---|---|---|
| committer | Neil Conway <neilc@samurai.com> | 2005-03-10 07:14:03 +0000 |
| commit | 164adc4d3924d5f0310dba24d4035313ca69245d (patch) | |
| tree | 4a7dfc4714ac642f31b1a60d31ecdc4ba1d59065 /src/backend/postmaster/Makefile | |
| parent | e829f822239186df59829afae5cc2769b783630b (diff) | |
| download | postgresql-164adc4d3924d5f0310dba24d4035313ca69245d.tar.gz | |
Refactor fork()-related code. We need to do various housekeeping tasks
before we can invoke fork() -- flush stdio buffers, save and restore the
profiling timer on Linux with LINUX_PROFILE, and handle BeOS stuff. This
patch moves that code into a single function, fork_process(), instead of
duplicating it at the various callsites of fork().
This patch doesn't address the EXEC_BACKEND case; there is room for
further cleanup there.
Diffstat (limited to 'src/backend/postmaster/Makefile')
| -rw-r--r-- | src/backend/postmaster/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/backend/postmaster/Makefile b/src/backend/postmaster/Makefile index fdb12febb4..054bb09060 100644 --- a/src/backend/postmaster/Makefile +++ b/src/backend/postmaster/Makefile @@ -4,7 +4,7 @@ # Makefile for src/backend/postmaster # # IDENTIFICATION -# $PostgreSQL: pgsql/src/backend/postmaster/Makefile,v 1.19 2004/08/05 23:32:10 tgl Exp $ +# $PostgreSQL: pgsql/src/backend/postmaster/Makefile,v 1.20 2005/03/10 07:14:03 neilc Exp $ # #------------------------------------------------------------------------- @@ -12,7 +12,7 @@ subdir = src/backend/postmaster top_builddir = ../../.. include $(top_builddir)/src/Makefile.global -OBJS = postmaster.o bgwriter.o pgstat.o pgarch.o syslogger.o +OBJS = bgwriter.o fork_process.o pgarch.o pgstat.o postmaster.o syslogger.o all: SUBSYS.o |
