Tom Lane wrote: > Vsevolod Lobko <[EMAIL PROTECTED]> writes: > > Yes, here too... > > There are no headers included for struct timeval and function select > > in miscadmin.h > > Certain parties who shall remain nameless have been gratuitously > scattering dependencies on select() into lots of modules that don't > need them. (When you are about to call the kernel to implement a > multi-millisecond delay, there is no value in saving a nanosecond > by inlining the code for it...) I plan to fix that later tonight > if no one beats me to it.
The scattering isn't actually from Win32, which is where I thought it came from. It is from the PG_DELAY call that was added with: revision 1.137 date: 2003/11/13 14:57:15; author: wieck; state: Exp; lines: +8 -1 2nd try for the ARC strategy. I added a couple more Assertions while tracking down the exact cause of the former bug. All 93 regression tests pass now. Jan What Win32 has done is to centralize all delay calls around that function, now renamed PG_USLEEP/PG_MSLEEP. I was going to add the missing includes but if you want to centralize it, I think that makes more sense. -- Bruce Momjian | http://candle.pha.pa.us [EMAIL PROTECTED] | (610) 359-1001 + If your life is a hard drive, | 13 Roberts Road + Christ can be your backup. | Newtown Square, Pennsylvania 19073 ---------------------------(end of broadcast)--------------------------- TIP 9: the planner will ignore your desire to choose an index scan if your joining column's datatypes do not match