| Committer | Introduce a pipe between postmaster and each backend, which can be used to detect postmaster death. Postmaster keeps the write-end of the pipe open, so when it dies, children get EOF in the read-end. That can conveniently be waited for in select(), which allows eliminating some of the polling loops that check for postmaster death. This patch doesn't yet change all the loops to use the new mechanism, expect a follow-on patch to do that. 89fd72cb | master9.2beta1REL_19_STABLE9.2beta1REL_18_STABLE9.2beta1REL_17_STABLE9.2beta1REL_16_STABLE9.2beta1REL_15_STABLE9.2beta1REL_14_STABLE9.2beta1REL_13_STABLE9.2beta1+8 more | No linked thread | Jul 08, 2011 |
| CommitterBackported | Fix one overflow and one signedness error, caused by the patch to calculate OLDSERXID_MAX_PAGE based on BLCKSZ. MSVC compiler warned about these. 9598afa3 | master9.2beta1REL_19_STABLE9.2beta1REL_18_STABLE9.2beta1REL_17_STABLE9.2beta1REL_16_STABLE9.2beta1REL_15_STABLE9.2beta1REL_14_STABLE9.2beta1REL_13_STABLE9.2beta1+9 more | No linked thread | Jul 08, 2011 |
| CommitterBackported | There's a small window wherein a transaction is committed but not yet on the finished list, and we shouldn't flag it as a potential conflict if so. We can also skip adding a doomed transaction to the list of possible conflicts because we know it won't commit. bdaabb9b | master9.2beta1REL_19_STABLE9.2beta1REL_18_STABLE9.2beta1REL_17_STABLE9.2beta1REL_16_STABLE9.2beta1REL_15_STABLE9.2beta1REL_14_STABLE9.2beta1REL_13_STABLE9.2beta1+9 more | No linked thread | Jul 07, 2011 |
| CommitterBackported | SSI has a race condition, where the order of commit sequence numbers of transactions might not match the order the work done in those transactions become visible to others. The logic in SSI, however, assumed that it does. Fix that by having two sequence numbers for each serializable transaction, one taken before a transaction becomes visible to others, and one after it. This is easier than trying to make the the transition totally atomic, which would require holding ProcArrayLock and SerializableXactHashLock at the same time. By using prepareSeqNo instead of commitSeqNo in a few places where commit sequence numbers are compared, we can make those comparisons err on the safe side when we don't know for sure which committed first. 406d6183 | master9.2beta1REL_19_STABLE9.2beta1REL_18_STABLE9.2beta1REL_17_STABLE9.2beta1REL_16_STABLE9.2beta1REL_15_STABLE9.2beta1REL_14_STABLE9.2beta1REL_13_STABLE9.2beta1+9 more | No linked thread | Jul 07, 2011 |
| CommitterBackported | Fix a bug with SSI and prepared transactions: 928408d9 | master9.2beta1REL_19_STABLE9.2beta1REL_18_STABLE9.2beta1REL_17_STABLE9.2beta1REL_16_STABLE9.2beta1REL_15_STABLE9.2beta1REL_14_STABLE9.2beta1REL_13_STABLE9.2beta1+9 more | No linked thread | Jul 07, 2011 |
| CommitterBackported | Clarify that you need ActiveState perl 5.8 *or later* to build on Windows. e24662c4 | master9.2beta1REL_19_STABLE9.2beta1REL_18_STABLE9.2beta1REL_17_STABLE9.2beta1REL_16_STABLE9.2beta1REL_15_STABLE9.2beta1REL_14_STABLE9.2beta1REL_13_STABLE9.2beta1+12 more | No linked thread | Jul 04, 2011 |
| Committer | Remove silent_mode. You get the same functionality with "pg_ctl -l postmaster.log", or nohup. f7ea6bea | master9.2beta1REL_19_STABLE9.2beta1REL_18_STABLE9.2beta1REL_17_STABLE9.2beta1REL_16_STABLE9.2beta1REL_15_STABLE9.2beta1REL_14_STABLE9.2beta1REL_13_STABLE9.2beta1+8 more | No linked thread | Jul 04, 2011 |