Filter:

Commits in week 4 (Jan 21 - Jan 27, 2008)

Commits10 commits of which 1 backported
0Author
10Committer
0Reviewer
0Reported by
0Co-author
CreditCommitBranchesThread(s)Committed
CommitterMinor editorial improvements in documentation of session_replication_role; in particular correct the obsolete claim that it can't be changed once any plans have been cached.
b5518c8e
master8.3.0REL_19_STABLE8.3.0REL_18_STABLE8.3.0REL_17_STABLE8.3.0REL_16_STABLE8.3.0REL_15_STABLE8.3.0REL_14_STABLE8.3.0REL_13_STABLE8.3.0+17 more
No linked threadJan 27, 2008
CommitterChange StatementCancelHandler() to check the DoingCommandRead flag to decide whether to execute an immediate interrupt, rather than testing whether LockWaitCancel() cancelled a lock wait. The old way misclassified the case where we were blocked in ProcWaitForSignal(), and arguably would misclassify any other future additions of new ImmediateInterruptOK states too. This allows reverting the old kluge that gave LockWaitCancel() a return value, since no callers care anymore. Improve comments in the various implementations of PGSemaphoreLock() to explain that on some platforms, the assumption that semop() exits after a signal is wrong, and so we must ensure that the signal handler itself throws elog if we want cancel or die interrupts to be effective. Per testing related to bug #3883, though this patch doesn't solve those problems fully.
6322e844
master8.3.0REL_19_STABLE8.3.0REL_18_STABLE8.3.0REL_17_STABLE8.3.0REL_16_STABLE8.3.0REL_15_STABLE8.3.0REL_14_STABLE8.3.0REL_13_STABLE8.3.0+17 more
No linked threadJan 26, 2008
CommitterFix two different copy-and-paste-os in CSV log rotation logic; one that led to a double-pfree crash and another that effectively disabled size-based rotation for CSV logs. Also suppress a memory leak and make some trivial cosmetic improvements. Per bug #3901 from Chris Hoover and additional code-reading.
ace1b29b
master8.3.0REL_19_STABLE8.3.0REL_18_STABLE8.3.0REL_17_STABLE8.3.0REL_16_STABLE8.3.0REL_15_STABLE8.3.0REL_14_STABLE8.3.0REL_13_STABLE8.3.0+17 more
No linked threadJan 25, 2008
CommitterRelease any detoasted copies of arrays that are made temporarily in ri_FetchConstraintInfo, to avoid a query-duration memory leak when that routine is called by RI_FKey_keyequal_upd_fk (which isn't executed in a short-lived context). This problem was latent when the routine was added in February, but it didn't become serious until the varvarlena patch made it quite likely that the fields being examined would be "toasted" (ie, have short headers). Per report from Stephen Denne.
353a1cca
master8.3.0REL_19_STABLE8.3.0REL_18_STABLE8.3.0REL_17_STABLE8.3.0REL_16_STABLE8.3.0REL_15_STABLE8.3.0REL_14_STABLE8.3.0REL_13_STABLE8.3.0+17 more
No linked threadJan 25, 2008
CommitterBackportedPrevent integer overflow within the integer-datetimes version of TimestampTzPlusMilliseconds. An integer argument of more than INT_MAX/1000 milliseconds (ie, about 35 minutes) would provoke a wrong result, resulting in incorrect enforcement of statement_timestamp values larger than that. Bug was introduced in my rewrite of 2006-06-20, which fixed some other overflow risks, but missed this one :-( Per report from Elein.
b9ff7443
master8.3.0REL_19_STABLE8.3.0REL_18_STABLE8.3.0REL_17_STABLE8.3.0REL_16_STABLE8.3.0REL_15_STABLE8.3.0REL_14_STABLE8.3.0REL_13_STABLE8.3.0+18 more
No linked threadJan 23, 2008
CommitterProvide a concrete example of parameter expansion in archive_command. Per discussion of bug #3877. Simon Riggs, some fixes by moi.
1570d046
master8.3.0REL_19_STABLE8.3.0REL_18_STABLE8.3.0REL_17_STABLE8.3.0REL_16_STABLE8.3.0REL_15_STABLE8.3.0REL_14_STABLE8.3.0REL_13_STABLE8.3.0+17 more
No linked threadJan 23, 2008
CommitterAvoid mathematical inconsistency in example about avoiding division by zero with a CASE expression. Per gripe from Russell Smith.
216e63bb
master8.3.0REL_19_STABLE8.3.0REL_18_STABLE8.3.0REL_17_STABLE8.3.0REL_16_STABLE8.3.0REL_15_STABLE8.3.0REL_14_STABLE8.3.0REL_13_STABLE8.3.0+17 more
No linked threadJan 23, 2008
CommitterReference pgAdmin as a typical client-side tool, rather than the no-longer-maintained PgAccess. Per Erik Rijkers.
6a7a63d3
master8.3.0REL_19_STABLE8.3.0REL_18_STABLE8.3.0REL_17_STABLE8.3.0REL_16_STABLE8.3.0REL_15_STABLE8.3.0REL_14_STABLE8.3.0REL_13_STABLE8.3.0+17 more
No linked threadJan 23, 2008
CommitterImprove description of bgwriter_lru_multiplier, per discussion.
1e985720
master8.3.0REL_19_STABLE8.3.0REL_18_STABLE8.3.0REL_17_STABLE8.3.0REL_16_STABLE8.3.0REL_15_STABLE8.3.0REL_14_STABLE8.3.0REL_13_STABLE8.3.0+17 more
No linked threadJan 21, 2008
CommitterFix RS_isRegis() to agree exactly with RS_compile()'s idea of what's a valid regis. Correct the latter's oversight that a bracket-expression needs to be terminated. Reduce the ereports to elogs, since they are now not expected to ever be hit (thus addressing Alvaro's original complaint). In passing, const-ify the string argument to RS_compile.
716e8b83
master8.3.0REL_19_STABLE8.3.0REL_18_STABLE8.3.0REL_17_STABLE8.3.0REL_16_STABLE8.3.0REL_15_STABLE8.3.0REL_14_STABLE8.3.0REL_13_STABLE8.3.0+17 more
No linked threadJan 21, 2008