| Committer | Rethink prior patch to filter out dead backend entries from the pgstats file. The original code probed the PGPROC array separately for each PID, which was not good for large numbers of backends: not only is the runtime O(N^2) but most of it is spent holding ProcArrayLock. Instead, take the lock just once and copy the active PIDs into an array, then use qsort and bsearch so that the lookup time is more like O(N log N). fb3dbdf9 | master8.2beta1REL_19_STABLE8.2beta1REL_18_STABLE8.2beta1REL_17_STABLE8.2beta1REL_16_STABLE8.2beta1REL_15_STABLE8.2beta1REL_14_STABLE8.2beta1REL_13_STABLE8.2beta1+18 more | No linked thread | Dec 16, 2005 |
| Committer | Back-patch 7.4 change to show that freebsd 5 and up don't need float8-small-is-zero. Per Mark Kirkwood. 660fcf0f | REL7_3_STABLE7.3.13 | No linked thread | Dec 15, 2005 |
| CommitterBackported | Defend against crash while processing Describe Statement or Describe Portal messages, when client attempts to execute these outside a transaction (start one) or in a failed transaction (reject message, except for COMMIT/ROLLBACK statements which we can handle). Per report from Francisco Figueiredo Jr. 4ce6be4f | master8.2beta1REL_19_STABLE8.2beta1REL_18_STABLE8.2beta1REL_17_STABLE8.2beta1REL_16_STABLE8.2beta1REL_15_STABLE8.2beta1REL_14_STABLE8.2beta1REL_13_STABLE8.2beta1+21 more | No linked thread | Dec 14, 2005 |
| Committer | Fix a *different* problem with whole-row Vars afflicting 8.0 branch. This is a back-port of a fix made to markTargetListOrigin() on 2005-04-25. ec8c876b | REL8_0_STABLE8.0.6 | No linked thread | Dec 14, 2005 |
| CommitterBackported | Fix problem with whole-row Vars referencing sub-select outputs, per example from Jim Dew. Add some simple regression tests, since this is an area we seem to break regularly :-( 42629266 | master8.2beta1REL_19_STABLE8.2beta1REL_18_STABLE8.2beta1REL_17_STABLE8.2beta1REL_16_STABLE8.2beta1REL_15_STABLE8.2beta1REL_14_STABLE8.2beta1REL_13_STABLE8.2beta1+19 more | No linked thread | Dec 14, 2005 |
| Committer | Remove unused HAVE_STRUCT_SOCKCRED code, which was causing a duplicate- variable-definition error on recent FreeBSDen (evidently, that platform also HAS_STRUCT_CMSGCRED). Backport of 7.4 fix dated 2003-10-25. 93bcee8d | REL7_3_STABLE7.3.13 | No linked thread | Dec 13, 2005 |