"Tom Lane" <[EMAIL PROTECTED]> wrote > > ... so definitely worth fixing for 8.1 if we can convince ourselves > it's correct. >
Despite the performance, there is one thing I am not exactly sure. Shall we add "volatile" quanlifier to at least pg_signal_queue? The dangerous place is PGSemaphoreLock(). If the compiler cache this value somehow, then we are in trouble, but the original way (check event directly) does not have this problem. Regards, Qingqing ---------------------------(end of broadcast)--------------------------- TIP 5: don't forget to increase your free space map settings