From: | Vadim Mikheev <vadim(at)krs(dot)ru> |
---|---|
To: | PostgreSQL Developers List <hackers(at)postgreSQL(dot)org> |
Subject: | WAL Bootstrap/Startup/Shutdown committed... |
Date: | 1999-10-06 22:28:32 |
Message-ID: | 37FBCD10.75BBC025@krs.ru |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
gmake clean + initdb (also changed) required.
WAL still doesn't anything but eats 16Mb disk space on bootstrap -:)
Data base system shutdown is changed!
Now, after receiving SIGTERM, postmaster disallows new
connections but let active backend to end their works
and shutdown data base only after all of them terminated
(by client request) - Smart Shutdown.
SIGINT: postmaster disallows new connections,
sends all active backends SIGTERM (abort+exit),
waits for children exits and shutdowns data base
- Fast Shutdown.
SIGQUIT: postmaster terminates children with SIGUSR1
and exits (without shutdowning data base)
- Immediate Shutdown (results in recovery on startup).
I started to clean up backend initialization code: MUST use
locking when read catalog relations and setup MyProc before
acquiring any (except for ProcStructLock) spinlocks.
Also, now FATAL is ERROR + exit.
Vadim
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 1999-10-06 23:00:56 | |
Previous Message | Bruce Momjian | 1999-10-06 22:22:35 | Re: [HACKERS] Re: psql and comments |