| Committer | Mention synchronize_seqscans GUC variable in release notes. Update expected release date. 06462f51 | 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 thread | Jan 31, 2008 |
| Committer | Remove the old table of "supported platforms" in favor of a link to the buildfarm plus a narrative description of the CPU types and operating systems on which Postgres is likely to work. Now that we've almost completely decoupled CPU and OS considerations, the former tabular style isn't all that enlightening anyway. Perhaps more importantly, no one seems particularly interested in maintaining the table by hand when we have the buildfarm. 73d9544e | 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 thread | Jan 31, 2008 |
| Committer | Fix pg_GSS_error to use conn->errorMessage more sanely, ie, actually work with the PQExpBuffer code instead of fighting it. This avoids an unnecessary limit on message length and fixes the latent bug that errorMessage.len wasn't getting set. cf82aee7 | 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 thread | Jan 31, 2008 |
| CommitterBackported | Improve pg_autovacuum documentation to clarify that the enabled field cannot prevent anti-wraparound vacuuming, and to caution against setting unreasonably small values of freeze_max_age. Also put in a notice that this catalog is likely to disappear entirely in some future release. Per discussion of bug #3898 from Steven Flatt. 7c15b10a | 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 thread | Jan 31, 2008 |
| Committer | Add checks to TRUNCATE, CLUSTER, and REINDEX to prevent performing these operations when the current transaction has any open references to the target relation or index (implying it has an active query using the relation). The need for this was previously recognized in connection with ALTER TABLE, but anything that summarily eliminates tuples or moves them around would confuse an active scan. 0688d840 | 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 thread | Jan 30, 2008 |
| Committer | Add a GUC variable "synchronize_seqscans" to allow clients to disable the new synchronized-scanning behavior, and make pg_dump disable sync scans so that it will reliably preserve row ordering. Per recent discussions. 47df4f66 | 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 thread | Jan 30, 2008 |
| Committer | Don't putenv() a string that is allocated in a context that will go away soon. I suspect this explains bug #3902, though I'm still not able to reproduce that. b58d8c9a | 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 thread | Jan 30, 2008 |
| Committer | Fix up closePGconn() so that PQreset() will work on GSSAPI/SSPI connections; the patch for those features put its cleanup code into freePGconn() which is really the wrong place. Remove redundant code from freePGconn() and add comments in hopes of preventing similar mistakes in future. Noticed while trying (futilely) to reproduce bug #3902. 5037ed83 | 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 thread | Jan 29, 2008 |
| Committer | Arrange to ignore SIGPIPE during SSL_read() and SSL_shutdown(), as these are known to write on the socket sometimes and thus we are vulnerable to being killed by the signal if the server happens to go away unexpectedly. Noticed while trying (futilely) to reproduce bug #3902. fad2b995 | 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 thread | Jan 29, 2008 |
| Committer | Minor 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 thread | Jan 27, 2008 |
| Committer | Change 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 thread | Jan 26, 2008 |
| Committer | Fix 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 thread | Jan 25, 2008 |
| Committer | Release 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 thread | Jan 25, 2008 |
| CommitterBackported | Prevent 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 thread | Jan 23, 2008 |
| Committer | Provide 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 thread | Jan 23, 2008 |
| Committer | Avoid 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 thread | Jan 23, 2008 |
| Committer | Reference 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 thread | Jan 23, 2008 |
| Committer | Improve 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 thread | Jan 21, 2008 |
| Committer | Fix 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 thread | Jan 21, 2008 |
| Committer | Fix psql \h output for case of no parameters (ie, list all the known commands) to format properly for the actually needed column width, instead of having a hard-wired assumption about the longest command name length. Also make it respond to the current screen width. In passing, const-ify the constant table. f7108ce0 | 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 thread | Jan 20, 2008 |
| Committer | Make pg_regress clean out the testtablespace directory only on Windows. On other platforms it's better to let the Makefile handle it, but we want the regression tests to be invokable without make on Windows. A batch file would be a better solution, but no time for that before 8.3. Per my discovery that this breaks testing under SELinux, and subsequent discussion. f10589e5 | 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 thread | Jan 19, 2008 |
| Committer | Insert into getCopyDataMessage() the same logic that already existed in the main code path for enlarging libpq's input buffer in one swoop when needing to read a long data message. Without this, the code will double the buffer size, read more data, notice it still hasn't got the whole message, and repeat till it finally has a large enough buffer. Which wastes a lot of data-moving effort and also memory (since malloc probably can't do anything very useful with the freed-up smaller buffers). Not sure why this wasn't there already; certainly the COPY data path is a place where we're quite likely to see long data messages. I'm not backpatching though, since this is just a marginal performance issue rather than a real bug. 70066eb1 | master8.3rc2REL_19_STABLE8.3rc2REL_18_STABLE8.3rc2REL_17_STABLE8.3rc2REL_16_STABLE8.3rc2REL_15_STABLE8.3rc2REL_14_STABLE8.3rc2REL_13_STABLE8.3rc2+17 more | No linked thread | Jan 17, 2008 |
| CommitterBackported | Fix subselect.c to avoid assuming that a SubLink's testexpr references each subquery output column exactly once left-to-right. Although this is the case in the original parser output, it might not be so after rewriting and constant-folding, as illustrated by bug #3882 from Jan Mate. Instead scan the subquery's target list to obtain needed per-column information; this is duplicative of what the parser did, but only a couple dozen lines need be copied, and we can clean up a couple of notational uglinesses. Bug was introduced in 8.2 as part of revision of SubLink representation. a44174cf | master8.3rc2REL_19_STABLE8.3rc2REL_18_STABLE8.3rc2REL_17_STABLE8.3rc2REL_16_STABLE8.3rc2REL_15_STABLE8.3rc2REL_14_STABLE8.3rc2REL_13_STABLE8.3rc2+18 more | No linked thread | Jan 17, 2008 |
| Committer | Fix ALTER INDEX RENAME so that if the index belongs to a unique or primary key constraint, the constraint is renamed as well. This avoids inconsistent situations that could confuse pg_dump (not to mention humans). We might at some point provide ALTER TABLE RENAME CONSTRAINT as a more general solution, but there seems no reason not to allow doing it this way too. Per bug #3854 and related discussions. 0df7717f | master8.3rc2REL_19_STABLE8.3rc2REL_18_STABLE8.3rc2REL_17_STABLE8.3rc2REL_16_STABLE8.3rc2REL_15_STABLE8.3rc2REL_14_STABLE8.3rc2REL_13_STABLE8.3rc2+17 more | No linked thread | Jan 17, 2008 |
| Committer | Remove inappropriate cd commands, per David Wheeler. Also make the PATH responsive to the installation prefix, which was the apparent intent of the previous edit, but not well executed. 97e3a6e9 | master8.3rc2REL_19_STABLE8.3rc2REL_18_STABLE8.3rc2REL_17_STABLE8.3rc2REL_16_STABLE8.3rc2REL_15_STABLE8.3rc2REL_14_STABLE8.3rc2REL_13_STABLE8.3rc2+17 more | No linked thread | Jan 16, 2008 |
| Committer | Be less wishy-washy in the documentation and comments about whether a ParameterStatus message can be sent during COPY OUT: it's definitely possible, since COPY from a SELECT subquery can trigger any user-defined function. 0153c4c4 | master8.3rc2REL_19_STABLE8.3rc2REL_18_STABLE8.3rc2REL_17_STABLE8.3rc2REL_16_STABLE8.3rc2REL_15_STABLE8.3rc2REL_14_STABLE8.3rc2REL_13_STABLE8.3rc2+17 more | No linked thread | Jan 15, 2008 |
| Committer | Prevent CLUSTER from decreasing a relation's relfrozenxid. Bug introduced in rewrite to make CLUSTER MVCC-safe. 14e2a260 | master8.3rc2REL_19_STABLE8.3rc2REL_18_STABLE8.3rc2REL_17_STABLE8.3rc2REL_16_STABLE8.3rc2REL_15_STABLE8.3rc2REL_14_STABLE8.3rc2REL_13_STABLE8.3rc2+17 more | No linked thread | Jan 15, 2008 |
| Committer | Revise memory management for libxml calls. Instead of keeping libxml's data in whichever context happens to be current during a call of an xml.c function, use a dedicated context that will not go away until we explicitly delete it (which we do at transaction end or subtransaction abort). This makes recovery after an error much simpler --- we don't have to individually delete the data structures created by libxml. Also, we need to initialize and cleanup libxml only once per transaction (if there's no error) instead of once per function call, so it should be a bit faster. We'll need to keep an eye out for intra-transaction memory leaks, though. Alvaro and Tom. ac12412e | master8.3rc2REL_19_STABLE8.3rc2REL_18_STABLE8.3rc2REL_17_STABLE8.3rc2REL_16_STABLE8.3rc2REL_15_STABLE8.3rc2REL_14_STABLE8.3rc2REL_13_STABLE8.3rc2+17 more | No linked thread | Jan 15, 2008 |
| Committer | Tweak new error message to conform to style guidelines. deb7deda | master8.3rc2REL_19_STABLE8.3rc2REL_18_STABLE8.3rc2REL_17_STABLE8.3rc2REL_16_STABLE8.3rc2REL_15_STABLE8.3rc2REL_14_STABLE8.3rc2REL_13_STABLE8.3rc2+17 more | No linked thread | Jan 15, 2008 |
| Committer | Somebody forgot to add this ERRCODE everywhere it should go ... abab776b | master8.3rc2REL_19_STABLE8.3rc2REL_18_STABLE8.3rc2REL_17_STABLE8.3rc2REL_16_STABLE8.3rc2REL_15_STABLE8.3rc2REL_14_STABLE8.3rc2REL_13_STABLE8.3rc2+17 more | No linked thread | Jan 15, 2008 |
| Committer | Prevent pg_dump from dumping the comment (if any) on the 'public' schema. This is to avoid uselessly requiring superuser permissions to restore the dump without errors. Pretty grotty, but no better alternative seems available, at least not in the near term. ea00ab8d | master8.3rc2REL_19_STABLE8.3rc2REL_18_STABLE8.3rc2REL_17_STABLE8.3rc2REL_16_STABLE8.3rc2REL_15_STABLE8.3rc2REL_14_STABLE8.3rc2REL_13_STABLE8.3rc2+17 more | No linked thread | Jan 14, 2008 |
| Committer | Avoid cluttering the postmaster log with bogus complaints during transaction abort, per my note from a couple days ago. 98c0ebca | master8.3rc2REL_19_STABLE8.3rc2REL_18_STABLE8.3rc2REL_17_STABLE8.3rc2REL_16_STABLE8.3rc2REL_15_STABLE8.3rc2REL_14_STABLE8.3rc2REL_13_STABLE8.3rc2+17 more | No linked thread | Jan 14, 2008 |
| CommitterBackported | Fix an ancient oversight in libpq's handling of V3-protocol COPY OUT mode: we need to be able to swallow NOTICE messages, and potentially also ParameterStatus messages (although the latter would be a bit weird), without exiting COPY OUT state. Fix it, and adjust the protocol documentation to emphasize the need for this. Per off-list report from Alexander Galler. 5c767142 | master8.3rc2REL_19_STABLE8.3rc2REL_18_STABLE8.3rc2REL_17_STABLE8.3rc2REL_16_STABLE8.3rc2REL_15_STABLE8.3rc2REL_14_STABLE8.3rc2REL_13_STABLE8.3rc2+21 more | No linked thread | Jan 14, 2008 |
| Committer | Fix pgstat_heap() to not be broken by syncscans starting from a block higher than zero. Same problem as just detected in CREATE INDEX CONCURRENTLY. b775d93a | master8.3rc2REL_19_STABLE8.3rc2REL_18_STABLE8.3rc2REL_17_STABLE8.3rc2REL_16_STABLE8.3rc2REL_15_STABLE8.3rc2REL_14_STABLE8.3rc2REL_13_STABLE8.3rc2+17 more | No linked thread | Jan 14, 2008 |
| Committer | Use an indexscan not a heapscan to search pg_index in get_pkey_attnames. Noted while looking for heapscans that might need to start from block zero. 66661858 | master8.3rc2REL_19_STABLE8.3rc2REL_18_STABLE8.3rc2REL_17_STABLE8.3rc2REL_16_STABLE8.3rc2REL_15_STABLE8.3rc2REL_14_STABLE8.3rc2REL_13_STABLE8.3rc2+17 more | No linked thread | Jan 14, 2008 |
| Committer | Fix CREATE INDEX CONCURRENTLY so that it won't use synchronized scan for its second pass over the table. It has to start at block zero, else the "merge join" logic for detecting which TIDs are already in the index doesn't work. Hence, extend heapam.c's API so that callers can enable or disable syncscan. (I put in an option to disable buffer access strategy, too, just in case somebody needs it.) Per report from Hannes Dorbath. d3b1b1f9 | master8.3rc2REL_19_STABLE8.3rc2REL_18_STABLE8.3rc2REL_17_STABLE8.3rc2REL_16_STABLE8.3rc2REL_15_STABLE8.3rc2REL_14_STABLE8.3rc2REL_13_STABLE8.3rc2+17 more | No linked thread | Jan 14, 2008 |
| Committer | Fix a regression test that fails if default_text_search_config isn't 'english'. 689d02a2 | master8.3rc2REL_19_STABLE8.3rc2REL_18_STABLE8.3rc2REL_17_STABLE8.3rc2REL_16_STABLE8.3rc2REL_15_STABLE8.3rc2REL_14_STABLE8.3rc2REL_13_STABLE8.3rc2+17 more | No linked thread | Jan 13, 2008 |
| Committer | Add note pointing out that read-only commands no longer consume command IDs. 05a381ad | master8.3rc2REL_19_STABLE8.3rc2REL_18_STABLE8.3rc2REL_17_STABLE8.3rc2REL_16_STABLE8.3rc2REL_15_STABLE8.3rc2REL_14_STABLE8.3rc2REL_13_STABLE8.3rc2+17 more | No linked thread | Jan 13, 2008 |
| Committer | It turns out the LIBXML_TEST_VERSION macro calls xmlInitParser(). Therefore we must xmlCleanupParser(), or we risk leaving behind dangling pointers to whatever memory context is current when xml_init() is called. This seems to fix bug #3860, though we might still want the more invasive solution being worked on by Alvaro. 1bbf8706 | master8.3rc2REL_19_STABLE8.3rc2REL_18_STABLE8.3rc2REL_17_STABLE8.3rc2REL_16_STABLE8.3rc2REL_15_STABLE8.3rc2REL_14_STABLE8.3rc2REL_13_STABLE8.3rc2+17 more | No linked thread | Jan 12, 2008 |
| CommitterBackported | Fix logical errors in constraint exclusion: we cannot assume that a CHECK constraint yields TRUE for every row of its table, only that it does not yield FALSE (a NULL result isn't disallowed). This breaks a couple of implications that would be true in two-valued logic. I had put in one such mistake in an 8.2.5 patch: foo IS NULL doesn't refute a strict operator on foo. But there was another in the original 8.2 release: NOT foo doesn't refute an expression whose truth would imply the truth of foo. Per report from Rajesh Kumar Mallah. 208d0a23 | master8.3rc2REL_19_STABLE8.3rc2REL_18_STABLE8.3rc2REL_17_STABLE8.3rc2REL_16_STABLE8.3rc2REL_15_STABLE8.3rc2REL_14_STABLE8.3rc2REL_13_STABLE8.3rc2+18 more | No linked thread | Jan 12, 2008 |
| Committer | The original implementation of polymorphic aggregates didn't really get the checking of argument compatibility right; although the problem is only exposed with multiple-input aggregates in which some arguments are polymorphic and some are not. Per bug #3852 from Sokolov Yura. 89c0a87f | master8.3rc2REL_19_STABLE8.3rc2REL_18_STABLE8.3rc2REL_17_STABLE8.3rc2REL_16_STABLE8.3rc2REL_15_STABLE8.3rc2REL_14_STABLE8.3rc2REL_13_STABLE8.3rc2+17 more | No linked thread | Jan 11, 2008 |
| Committer | Fix an old error in clause_selectivity: the default selectivity estimate for unhandled clause types ought to be 0.5, not 1.0. I fear I introduced this silliness due to misreading the intent of the very-poorly-structured code that was there when we inherited the file from Berkeley. The lack of sanity in this behavior was exposed by an example from Sim Zacks. (Arguably this is a bug fix and should be back-patched, but I'm a bit hesitant to introduce a possible planner behavior change in the back branches; it might detune queries that worked acceptably in the past.) df62977d | master8.3rc2REL_19_STABLE8.3rc2REL_18_STABLE8.3rc2REL_17_STABLE8.3rc2REL_16_STABLE8.3rc2REL_15_STABLE8.3rc2REL_14_STABLE8.3rc2REL_13_STABLE8.3rc2+17 more | No linked thread | Jan 11, 2008 |
| CommitterBackported | Fix a conceptual error in my patch of 2007-10-26 that avoided considering clauseless joins of relations that have unexploited join clauses. Rather than looking at every other base relation in the query, the correct thing is to examine the other relations in the "initial_rels" list of the current make_rel_from_joinlist() invocation, because those are what we actually have the ability to join against. This might be a subset of the whole query in cases where join_collapse_limit or from_collapse_limit or full joins have prevented merging the whole query into a single join problem. This is a bit untidy because we have to pass those rels down through a new PlannerInfo field, but it's necessary. Per bug #3865 from Oleg Kharin. 59fc64ac | master8.3rc2REL_19_STABLE8.3rc2REL_18_STABLE8.3rc2REL_17_STABLE8.3rc2REL_16_STABLE8.3rc2REL_15_STABLE8.3rc2REL_14_STABLE8.3rc2REL_13_STABLE8.3rc2+18 more | No linked thread | Jan 11, 2008 |
| Committer | Restructure the shutdown procedure for the archiver process to allow it to finish archiving everything (when there's no error), and to eliminate various hazards as best we can. This fixes a previous 8.3 patch that caused the postmaster to kill and then restart the archiver during shutdown (!?). e6a442c7 | master8.3rc2REL_19_STABLE8.3rc2REL_18_STABLE8.3rc2REL_17_STABLE8.3rc2REL_16_STABLE8.3rc2REL_15_STABLE8.3rc2REL_14_STABLE8.3rc2REL_13_STABLE8.3rc2+17 more | No linked thread | Jan 11, 2008 |
| Committer | Remove incorrect (and ill-advised anyway) pfree's in pg_convert_from and pg_convert_to. Per bug #3866 from Andrew Gilligan. a9742f12 | master8.3rc2REL_19_STABLE8.3rc2REL_18_STABLE8.3rc2REL_17_STABLE8.3rc2REL_16_STABLE8.3rc2REL_15_STABLE8.3rc2REL_14_STABLE8.3rc2REL_13_STABLE8.3rc2+17 more | No linked thread | Jan 09, 2008 |
| Committer | Fix CREATE INDEX CONCURRENTLY to not deadlock against an automatic or manual VACUUM that is blocked waiting to get lock on the table being indexed. Per report and fix suggestion from Greg Stark. ceb93600 | master8.3rc2REL_19_STABLE8.3rc2REL_18_STABLE8.3rc2REL_17_STABLE8.3rc2REL_16_STABLE8.3rc2REL_15_STABLE8.3rc2REL_14_STABLE8.3rc2REL_13_STABLE8.3rc2+17 more | No linked thread | Jan 09, 2008 |
| Committer | Fix a bug in 8.2.x that was exposed while investigating Kevin Grittner's report of poor planning in 8.3: it's unsafe to push a constant across an outer join when the outer-join condition is delayed by lower outer joins, unless we recheck the outer-join condition at the upper outer join. 8.2.x doesn't really have the ability to tell whether this is the case or not, but fortunately it doesn't matter --- it seems most desirable to keep the join condition whether it's entirely redundant or not. However, it's usually mostly redundant, so force its selectivity to 1.0. 02b3f326 | REL8_2_STABLE8.2.7 | No linked thread | Jan 09, 2008 |
| Committer | Fix some planner issues found while investigating Kevin Grittner's report of poorer planning in 8.3 than 8.2: 6a652252 | master8.3rc2REL_19_STABLE8.3rc2REL_18_STABLE8.3rc2REL_17_STABLE8.3rc2REL_16_STABLE8.3rc2REL_15_STABLE8.3rc2REL_14_STABLE8.3rc2REL_13_STABLE8.3rc2+17 more | No linked thread | Jan 09, 2008 |
| Committer | lmgr.c:DescribeLockTag was never taught about virtual xids, per Greg Stark. Also a couple of minor tweaks to try to future-proof the code a bit better against future locktag additions. da3df47c | master8.3rc2REL_19_STABLE8.3rc2REL_18_STABLE8.3rc2REL_17_STABLE8.3rc2REL_16_STABLE8.3rc2REL_15_STABLE8.3rc2REL_14_STABLE8.3rc2REL_13_STABLE8.3rc2+17 more | No linked thread | Jan 08, 2008 |
| Committer | informix.c was violating the coding rule about not including any system headers before c.h. Per report from J6M. 867ff072 | master8.3rc2REL_19_STABLE8.3rc2REL_18_STABLE8.3rc2REL_17_STABLE8.3rc2REL_16_STABLE8.3rc2REL_15_STABLE8.3rc2REL_14_STABLE8.3rc2REL_13_STABLE8.3rc2+17 more | No linked thread | Jan 08, 2008 |
| Committer | Remove unnecessary comma in enum definition ... some C compilers don't like that. Per report from J6M. 8c71752a | master8.3rc2REL_19_STABLE8.3rc2REL_18_STABLE8.3rc2REL_17_STABLE8.3rc2REL_16_STABLE8.3rc2REL_15_STABLE8.3rc2REL_14_STABLE8.3rc2REL_13_STABLE8.3rc2+17 more | No linked thread | Jan 08, 2008 |
| CommitterBackported | A long time ago, Peter pointed out that ruleutils.c didn't dump simple constant ORDER/GROUP BY entries properly: http://archives.postgresql.org/pgsql-hackers/2001-04/msg00457.php The original solution to that was in fact no good, as demonstrated by today's report from Martin Pitt: http://archives.postgresql.org/pgsql-bugs/2008-01/msg00027.php We can't use the column-number-reference format for a constant that is a resjunk targetlist entry, a case that was unfortunately not thought of in the original discussion. What we can do instead (which did not work at the time, but does work in 7.3 and up) is to emit the constant with explicit ::typename decoration, even if it otherwise wouldn't need it. This is sufficient to keep the parser from thinking it's a column number reference, and indeed is probably what the user must have done to get such a thing into the querytree in the first place. 59358907 | master8.3rc2REL_19_STABLE8.3rc2REL_18_STABLE8.3rc2REL_17_STABLE8.3rc2REL_16_STABLE8.3rc2REL_15_STABLE8.3rc2REL_14_STABLE8.3rc2REL_13_STABLE8.3rc2+21 more | No linked thread | Jan 06, 2008 |
| Committer | Stamp release 7.3.21. 9d4269f0 | REL7_3_STABLE7.3.21 | No linked thread | Jan 03, 2008 |
| Committer | Stamp release 7.4.19. 56a2a417 | REL7_4_STABLE7.4.19 | No linked thread | Jan 03, 2008 |
| Committer | Stamp release 8.0.15. 23196790 | REL8_0_STABLE8.0.15 | No linked thread | Jan 03, 2008 |
| Committer | Stamp release 8.1.11. d419ce45 | REL8_1_STABLE8.1.11 | No linked thread | Jan 03, 2008 |
| Committer | Stamp release 8.2.6. e29972bb | REL8_2_STABLE8.2.6 | No linked thread | Jan 03, 2008 |
| Committer | Stamp release 8.3RC1. 2bf121e4 | master8.3rc1REL_19_STABLE8.3rc1REL_18_STABLE8.3rc1REL_17_STABLE8.3rc1REL_16_STABLE8.3rc1REL_15_STABLE8.3rc1REL_14_STABLE8.3rc1REL_13_STABLE8.3rc1+17 more | No linked thread | Jan 03, 2008 |
| CommitterBackported | Update release notes for security releases. 019fac77 | master8.3rc1REL_19_STABLE8.3rc1REL_18_STABLE8.3rc1REL_17_STABLE8.3rc1REL_16_STABLE8.3rc1REL_15_STABLE8.3rc1REL_14_STABLE8.3rc1REL_13_STABLE8.3rc1+22 more | No linked thread | Jan 03, 2008 |
| CommitterBackported | The original patch to disallow non-passworded connections to non-superusers failed to cover all the ways in which a connection can be initiated in dblink. Plug the remaining holes. Also, disallow transient connections in functions for which that feature makes no sense (because they are only sensible as part of a sequence of operations on the same connection). Joe Conway 919c9f6c | master8.3rc1REL_19_STABLE8.3rc1REL_18_STABLE8.3rc1REL_17_STABLE8.3rc1REL_16_STABLE8.3rc1REL_15_STABLE8.3rc1REL_14_STABLE8.3rc1REL_13_STABLE8.3rc1+22 more | No linked thread | Jan 03, 2008 |
| CommitterBackported | Make standard maintenance operations (including VACUUM, ANALYZE, REINDEX, and CLUSTER) execute as the table owner rather than the calling user, using the same privilege-switching mechanism already used for SECURITY DEFINER functions. The purpose of this change is to ensure that user-defined functions used in index definitions cannot acquire the privileges of a superuser account that is performing routine maintenance. While a function used in an index is supposed to be IMMUTABLE and thus not able to do anything very interesting, there are several easy ways around that restriction; and even if we could plug them all, there would remain a risk of reading sensitive information and broadcasting it through a covert channel such as CPU usage. eedb068c | master8.3rc1REL_19_STABLE8.3rc1REL_18_STABLE8.3rc1REL_17_STABLE8.3rc1REL_16_STABLE8.3rc1REL_15_STABLE8.3rc1REL_14_STABLE8.3rc1REL_13_STABLE8.3rc1+22 more | No linked thread | Jan 03, 2008 |
| CommitterBackported | Fix assorted security-grade bugs in the regex engine. All of these problems are shared with Tcl, since it's their code to begin with, and the patches have been copied from Tcl 8.5.0. Problems: 98f27aae | master8.3rc1REL_19_STABLE8.3rc1REL_18_STABLE8.3rc1REL_17_STABLE8.3rc1REL_16_STABLE8.3rc1REL_15_STABLE8.3rc1REL_14_STABLE8.3rc1REL_13_STABLE8.3rc1+21 more | No linked thread | Jan 03, 2008 |
| Committer | Forbid ALTER TABLE and CLUSTER when there are pending AFTER-trigger events in the current backend for the target table. These operations move tuples around and would thus invalidate the TIDs stored in the trigger event records. (We need not worry about events in other backends, since acquiring exclusive lock should be enough to ensure there aren't any.) It might be sufficient to forbid only the table-rewriting variants of ALTER TABLE, but in the absence of any compelling use-case, let's just be safe and simple. Per follow-on investigation of bug #3847, though this is not actually the same problem reported therein. 20e86215 | master8.3rc1REL_19_STABLE8.3rc1REL_18_STABLE8.3rc1REL_17_STABLE8.3rc1REL_16_STABLE8.3rc1REL_15_STABLE8.3rc1REL_14_STABLE8.3rc1REL_13_STABLE8.3rc1+17 more | No linked thread | Jan 02, 2008 |
| CommitterBackported | Insert ARST into the list of known timezone abbreviations. 69528aef | master8.3rc1REL_19_STABLE8.3rc1REL_18_STABLE8.3rc1REL_17_STABLE8.3rc1REL_16_STABLE8.3rc1REL_15_STABLE8.3rc1REL_14_STABLE8.3rc1REL_13_STABLE8.3rc1+21 more | No linked thread | Jan 02, 2008 |
| CommitterBackported | Fix plpython's overoptimistic caching of information about the rowtype of a trigger's target table. The rowtype could change from one call to the next, so cope in such cases, while avoiding doing repetitive catalog lookups. Per bug #3847 from Mark Reid. baecbb91 | master8.3rc1REL_19_STABLE8.3rc1REL_18_STABLE8.3rc1REL_17_STABLE8.3rc1REL_16_STABLE8.3rc1REL_15_STABLE8.3rc1REL_14_STABLE8.3rc1REL_13_STABLE8.3rc1+18 more | No linked thread | Jan 02, 2008 |
| CommitterBackported | Update time zone data files to tzdata release 2007k. 1af45f1d | master8.3rc1REL_19_STABLE8.3rc1REL_18_STABLE8.3rc1REL_17_STABLE8.3rc1REL_16_STABLE8.3rc1REL_15_STABLE8.3rc1REL_14_STABLE8.3rc1REL_13_STABLE8.3rc1+20 more | No linked thread | Jan 01, 2008 |
| Committer | Fix some missed copyright updates. ce9baa06 | master8.3rc1REL_19_STABLE8.3rc1REL_18_STABLE8.3rc1REL_17_STABLE8.3rc1REL_16_STABLE8.3rc1REL_15_STABLE8.3rc1REL_14_STABLE8.3rc1REL_13_STABLE8.3rc1+17 more | No linked thread | Jan 01, 2008 |