"Qingqing Zhou" <[EMAIL PROTECTED]> writes: > But in our 7.4.x, there is code like this:
> sync(); > if (IsUnderPostmaster) > sleep(2); > sync(); I'm not claiming that that code is correct; it is in fact just as broken as the traditional custom. You'll notice we don't have it anymore ;-) > Why wasting 2 seconds is enough to save the data? It's not. The entire custom is and always has been bogus. regards, tom lane ---------------------------(end of broadcast)--------------------------- TIP 5: don't forget to increase your free space map settings