-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
> In any case, I wonder how many people, not having a sleep() function, > effect a delay with a busy loop; an example of such has been posted > in response to the thread in pgsql-admin, and didn't the regression > tests do so until recently? That seems less desirable than a real > sleep(). Exactly. If people are going to do it anyways, we might as well provide a better interface. And sleep() is going to be less expensive than any home-brewed sleep simulation. > To others who've written their own sleep() function: what are you > using it for? To properly emulate other, slower, RDBMSs? :) To simulate long-running queries without actually invoking them, and to simulate concurrency of shorter queries. - -- Greg Sabino Mullane [EMAIL PROTECTED] PGP Key: 0x14964AC8 200508221055 https://www.biglumber.com/x/web?pk=2529DF6AB8F79407E94445B4BC9B906714964AC8 -----BEGIN PGP SIGNATURE----- iEYEARECAAYFAkMJ5/QACgkQvJuQZxSWSsi7DwCfcVKyclkFZ5swp/jBvrT3lwq8 P4cAnRh/1WwCAwM/v2bItKKJBMD8ARNT =itDC -----END PGP SIGNATURE----- ---------------------------(end of broadcast)--------------------------- TIP 3: Have you checked our extensive FAQ? http://www.postgresql.org/docs/faq