| Committer | Dept of second thoughts: my first cut at supporting "x IS NOT NULL" btree indexscans would do the wrong thing if index_rescan() was called with a NULL instead of a new set of scankeys and the index was DESC order, because sk_strategy would not get flipped a second time. I think that those provisions for a NULL argument are dead code now as far as the core backend goes, but possibly somebody somewhere is still using it. In any case, this refactoring seems clearer, and it's definitely shorter. 5b76bb18 | master9.0alpha4REL_19_STABLE9.0alpha4REL_18_STABLE9.0alpha4REL_17_STABLE9.0alpha4REL_16_STABLE9.0alpha4REL_15_STABLE9.0alpha4REL_14_STABLE9.0alpha4REL_13_STABLE9.0alpha4+12 more | No linked thread | Jan 03, 2010 |
| Committer | Add missing schema-qualification in tab completion query. 96c40c6e | master9.0alpha4REL_19_STABLE9.0alpha4REL_18_STABLE9.0alpha4REL_17_STABLE9.0alpha4REL_16_STABLE9.0alpha4REL_15_STABLE9.0alpha4REL_14_STABLE9.0alpha4REL_13_STABLE9.0alpha4+12 more | No linked thread | Jan 02, 2010 |
| Committer | Fix similar_escape() to convert parentheses to non-capturing style. This is needed to avoid unwanted interference with SUBSTRING behavior, as per bug #5257 from Roman Kononov. Also, add some basic intelligence about character classes (bracket expressions) since we now have several behaviors that aren't appropriate inside a character class. e15d53e7 | master9.0alpha4REL_19_STABLE9.0alpha4REL_18_STABLE9.0alpha4REL_17_STABLE9.0alpha4REL_16_STABLE9.0alpha4REL_15_STABLE9.0alpha4REL_14_STABLE9.0alpha4REL_13_STABLE9.0alpha4+12 more | No linked thread | Jan 02, 2010 |
| Committer | check_exclusion_constraint didn't actually work correctly for index expressions: FormIndexDatum requires the estate's scantuple to already point at the tuple the values are supposedly being extracted from. Adjust test case so that this type of confusion will be exposed. Per report from hubert depesz lubaczewski. 2b59274c | master9.0alpha4REL_19_STABLE9.0alpha4REL_18_STABLE9.0alpha4REL_17_STABLE9.0alpha4REL_16_STABLE9.0alpha4REL_15_STABLE9.0alpha4REL_14_STABLE9.0alpha4REL_13_STABLE9.0alpha4+12 more | No linked thread | Jan 02, 2010 |
| Committer | Add an "argisrow" field to NullTest nodes, following a plan made way back in 8.2beta but never carried out. This avoids repetitive tests of whether the argument is of scalar or composite type. Also, be a bit more paranoid about composite arguments in some places where we previously weren't checking. 7839d359 | master9.0alpha4REL_19_STABLE9.0alpha4REL_18_STABLE9.0alpha4REL_17_STABLE9.0alpha4REL_16_STABLE9.0alpha4REL_15_STABLE9.0alpha4REL_14_STABLE9.0alpha4REL_13_STABLE9.0alpha4+12 more | No linked thread | Jan 01, 2010 |
| Committer | Support "x IS NOT NULL" clauses as indexscan conditions. This turns out to be just a minor extension of the previous patch that made "x IS NULL" indexable, because we can treat the IS NOT NULL condition as if it were "x < NULL" or "x > NULL" (depending on the index's NULLS FIRST/LAST option), just like IS NULL is treated like "x = NULL". Aside from any possible usefulness in its own right, this is an important improvement for index-optimized MAX/MIN aggregates: it is now reliably possible to get a column's min or max value cheaply, even when there are a lot of nulls cluttering the interesting end of the index. 29c4ad98 | master9.0alpha4REL_19_STABLE9.0alpha4REL_18_STABLE9.0alpha4REL_17_STABLE9.0alpha4REL_16_STABLE9.0alpha4REL_15_STABLE9.0alpha4REL_14_STABLE9.0alpha4REL_13_STABLE9.0alpha4+12 more | No linked thread | Jan 01, 2010 |
| Committer | Suppress compiler warning, per buildfarm member narwhal 2aff8c42 | master9.0alpha4REL_19_STABLE9.0alpha4REL_18_STABLE9.0alpha4REL_17_STABLE9.0alpha4REL_16_STABLE9.0alpha4REL_15_STABLE9.0alpha4REL_14_STABLE9.0alpha4REL_13_STABLE9.0alpha4+12 more | No linked thread | Dec 31, 2009 |
| Committer | Suppress compiler warning (pid_t isn't int everywhere) bd8a3565 | master9.0alpha4REL_19_STABLE9.0alpha4REL_18_STABLE9.0alpha4REL_17_STABLE9.0alpha4REL_16_STABLE9.0alpha4REL_15_STABLE9.0alpha4REL_14_STABLE9.0alpha4REL_13_STABLE9.0alpha4+12 more | No linked thread | Dec 31, 2009 |
| Committer | Add missing 'static' tag. b4594a66 | master9.0alpha4REL_19_STABLE9.0alpha4REL_18_STABLE9.0alpha4REL_17_STABLE9.0alpha4REL_16_STABLE9.0alpha4REL_15_STABLE9.0alpha4REL_14_STABLE9.0alpha4REL_13_STABLE9.0alpha4+12 more | No linked thread | Dec 31, 2009 |
| Committer | Redefine Datum as uintptr_t, instead of unsigned long. 85d02a65 | master9.0alpha4REL_19_STABLE9.0alpha4REL_18_STABLE9.0alpha4REL_17_STABLE9.0alpha4REL_16_STABLE9.0alpha4REL_15_STABLE9.0alpha4REL_14_STABLE9.0alpha4REL_13_STABLE9.0alpha4+12 more | No linked thread | Dec 31, 2009 |
| Committer | Dept of second thoughts: recursive case in ANALYZE shouldn't emit a pgstats message. This might need to be done differently later, but with the current logic that's what should happen. e6df063c | master9.0alpha4REL_19_STABLE9.0alpha4REL_18_STABLE9.0alpha4REL_17_STABLE9.0alpha4REL_16_STABLE9.0alpha4REL_15_STABLE9.0alpha4REL_14_STABLE9.0alpha4REL_13_STABLE9.0alpha4+12 more | No linked thread | Dec 30, 2009 |
| Committer | Revise pgstat's tracking of tuple changes to improve the reliability of decisions about when to auto-analyze. 48c192c1 | master9.0alpha4REL_19_STABLE9.0alpha4REL_18_STABLE9.0alpha4REL_17_STABLE9.0alpha4REL_16_STABLE9.0alpha4REL_15_STABLE9.0alpha4REL_14_STABLE9.0alpha4REL_13_STABLE9.0alpha4+12 more | No linked thread | Dec 30, 2009 |
| CommitterBackported | Set errno to zero before invoking SSL_read or SSL_write. It appears that at least in some Windows versions, these functions are capable of returning a failure indication without setting errno. That puts us into an infinite loop if the previous value happened to be EINTR. Per report from Brendan Hill. 4847d595 | master9.0alpha4REL_19_STABLE9.0alpha4REL_18_STABLE9.0alpha4REL_17_STABLE9.0alpha4REL_16_STABLE9.0alpha4REL_15_STABLE9.0alpha4REL_14_STABLE9.0alpha4REL_13_STABLE9.0alpha4+15 more | No linked thread | Dec 30, 2009 |
| Committer | Add an index on pg_inherits.inhparent, and use it to avoid seqscans in find_inheritance_children(). This is a complete no-op in databases without any inheritance. In databases where there are just a few entries in pg_inherits, it could conceivably be a small loss. However, in databases with many inheritance parents, it can be a big win. 540e69a0 | master9.0alpha4REL_19_STABLE9.0alpha4REL_18_STABLE9.0alpha4REL_17_STABLE9.0alpha4REL_16_STABLE9.0alpha4REL_15_STABLE9.0alpha4REL_14_STABLE9.0alpha4REL_13_STABLE9.0alpha4+12 more | No linked thread | Dec 29, 2009 |
| Committer | Add the ability to store inheritance-tree statistics in pg_statistic, and teach ANALYZE to compute such stats for tables that have subclasses. Per my proposal of yesterday. 649b5ec7 | master9.0alpha4REL_19_STABLE9.0alpha4REL_18_STABLE9.0alpha4REL_17_STABLE9.0alpha4REL_16_STABLE9.0alpha4REL_15_STABLE9.0alpha4REL_14_STABLE9.0alpha4REL_13_STABLE9.0alpha4+12 more | No linked thread | Dec 29, 2009 |