Filter:

Commits on September 15, 2003

Commits5 commits
0Author
5Committer
0Reviewer
0Reported by
0Co-author
CreditCommitBranchesThread(s)Committed
CommitterFix LISTEN/NOTIFY race condition reported by Gavin Sherry. While a really general fix might be difficult, I believe the only case where AtCommit_Notify could see an uncommitted tuple is where the other guy has just unlistened and not yet committed. The best solution seems to be to just skip updating that tuple, on the assumption that the other guy does not want to hear about the notification anyway. This is not perfect --- if the other guy rolls back his unlisten instead of committing, then he really should have gotten this notify. But to do that, we'd have to wait to see if he commits or not, or make UNLISTEN hold exclusive lock on pg_listener until commit. Either of these answers is deadlock-prone, not to mention horrible for interactive performance. Do it this way for now. (What happened to that project to do LISTEN/NOTIFY in memory with no table, anyway?)
db18703b
master7.4beta4REL_19_STABLE7.4beta4REL_18_STABLE7.4beta4REL_17_STABLE7.4beta4REL_16_STABLE7.4beta4REL_15_STABLE7.4beta4REL_14_STABLE7.4beta4REL_13_STABLE7.4beta4+21 more
No linked threadSep 15, 2003
CommitterUpdate regression test for message change.
d73e1b33
master7.4beta4REL_19_STABLE7.4beta4REL_18_STABLE7.4beta4REL_17_STABLE7.4beta4REL_16_STABLE7.4beta4REL_15_STABLE7.4beta4REL_14_STABLE7.4beta4REL_13_STABLE7.4beta4+21 more
No linked threadSep 15, 2003
CommitterImprove a couple of error messages per suggestions from Alvaro Herrera.
daed6f4b
master7.4beta4REL_19_STABLE7.4beta4REL_18_STABLE7.4beta4REL_17_STABLE7.4beta4REL_16_STABLE7.4beta4REL_15_STABLE7.4beta4REL_14_STABLE7.4beta4REL_13_STABLE7.4beta4+21 more
No linked threadSep 15, 2003
CommitterOkay, who left off the id= here?
4d016a95
master7.4beta3REL_19_STABLE7.4beta3REL_18_STABLE7.4beta3REL_17_STABLE7.4beta3REL_16_STABLE7.4beta3REL_15_STABLE7.4beta3REL_14_STABLE7.4beta3REL_13_STABLE7.4beta3+21 more
No linked threadSep 15, 2003
CommitterLISTEN doesn't issue a warning for redundant listens anymore. Also, add some 'See Also' links.
5f78d6cb
master7.4beta3REL_19_STABLE7.4beta3REL_18_STABLE7.4beta3REL_17_STABLE7.4beta3REL_16_STABLE7.4beta3REL_15_STABLE7.4beta3REL_14_STABLE7.4beta3REL_13_STABLE7.4beta3+21 more
No linked threadSep 15, 2003