On Fri, 2008-01-04 at 17:28 +0900, Fujii Masao wrote: > Simon Riggs wrote: > > > My original one line change described on bug 3843 seems like the best > > solution for 8.3. > > > > +1 > Is this change in time for RC1?
Patch attached. -- Simon Riggs 2ndQuadrant http://www.2ndQuadrant.com
Index: src/backend/postmaster/pgarch.c =================================================================== RCS file: /home/sriggs/pg/REPOSITORY/pgsql/src/backend/postmaster/pgarch.c,v retrieving revision 1.37 diff -c -r1.37 pgarch.c *** src/backend/postmaster/pgarch.c 1 Jan 2008 19:45:51 -0000 1.37 --- src/backend/postmaster/pgarch.c 5 Jan 2008 11:20:10 -0000 *************** *** 334,340 **** * sleep into 1-second increments, and check for interrupts after each * nap. */ ! while (!(wakened || got_SIGHUP)) { time_t curtime; --- 334,340 ---- * sleep into 1-second increments, and check for interrupts after each * nap. */ ! while (!(wakened || got_SIGHUP) && PostmasterIsAlive(true)) { time_t curtime;
---------------------------(end of broadcast)--------------------------- TIP 7: You can help support the PostgreSQL project by donating at http://www.postgresql.org/about/donate