Filter:

Commits in week 32 (Jul 31 - Aug 06, 2006)

Commits23 commits of which 1 backported
0Author
23Committer
0Reviewer
0Reported by
0Co-author
CreditCommitBranchesThread(s)Committed
CommitterTweak sanity_check regression test to display more tables (viz, those without indexes) but not to display temp tables. It's a bit hard to credit that sanity_check could get through a database-wide VACUUM while the preceding create_index test is still trying to clean up its temp tables ... but I see no other explanation for the current failure report from buildfarm member sponge.
23dc3082
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 threadAug 06, 2006
CommitterAdd support for forcing a switch to a new xlog file; cause such a switch to happen automatically during pg_stop_backup(). Add some functions for interrogating the current xlog insertion point and for easily extracting WAL filenames from the hex WAL locations displayed by pg_stop_backup and friends. Simon Riggs with some editorialization by Tom Lane.
704ddaaa
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 threadAug 06, 2006
CommitterFix inheritance_planner() to delete dummy subplans from its Append plan list, when some of the child rels have been excluded by constraint exclusion. This doesn't save a huge amount of time but it'll save some, and it makes the EXPLAIN output look saner. We already did the equivalent thing in set_append_rel_pathlist(), but not here.
635d42e9
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 threadAug 05, 2006
CommitterExtend relation_excluded_by_constraints() to check for mutually contradictory WHERE-clauses applied to a relation. This makes the GUC variable constraint_exclusion rather inappropriately named, but I've refrained for the moment from renaming it. Per example from Martin Lesser.
5f789c5e
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 threadAug 05, 2006
CommitterTeach predicate_refuted_by() how to do proofs involving NOT-clauses. This doesn't matter too much for ordinary NOTs, since prepqual.c does its best to get rid of those, but it helps with IS NOT TRUE clauses which the rule rewriter likes to insert. Per example from Martin Lesser.
6357f4ea
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 threadAug 05, 2006
CommitterFix domain_in() bug exhibited by Darcy Buskermolen. The idea of an EState that's shorter-lived than the expression state being evaluated in it really doesn't work :-( --- we end up with fn_extra caches getting deleted while still in use. Rather than abandon the notion of caching expression state across domain_in calls altogether, I chose to make domain_in a bit cozier with ExprContext. All we really need for evaluating variable-free expressions is an ExprContext, not an EState, so I invented the notion of a "standalone" ExprContext. domain_in can prevent resource leakages by doing a ReScanExprContext on this rather than having to free it entirely; so we can make the ExprContext have the same lifespan (and particularly the same per_query memory context) as the expression state structs.
c6848986
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 threadAug 04, 2006
CommitterRemove redeclaration of struct sqlca_t --- unnecessary and provokes warnings on some compilers.
6db6714f
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 threadAug 04, 2006
CommitterFix missing 'static' keywords --- some compilers gripe about this.
34677588
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 threadAug 04, 2006
CommitterFix inadequate quoting in test for AIX xlc.
a7d400ad
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 threadAug 04, 2006
Committer'make clean' must remove the create subdirectories results/ and log/, not merely remove their contents. Else 'cvs update' complains.
5d844d32
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 threadAug 04, 2006
CommitterTeach eval_const_expressions to simplify BooleanTest nodes that have constant input. Seems worth doing because rule rewriter inserts IS NOT TRUE tests into WHERE clauses.
e2d34d75
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 threadAug 04, 2006
CommitterAdd some basic tests of GUC behavior. Joachim Wieland
c8226429
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 threadAug 04, 2006
CommitterCause ALTER TABLE to perform ALTER COLUMN DROP DEFAULT operations during the DROP pass rather than the ADD_CONSTR pass. On examining the code I think this was just an oversight rather than intentional, and it seems to satisfy the principle of least surprise better than the alternative solution that was discussed. Add an example to the ref page showing how to do ALTER TYPE and update the default in one command. Per gripe from Markus Bertheau that that wasn't possible.
7946f772
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 threadAug 03, 2006
CommitterRemove use of a regex character class in resultmap (for freebsd version check). This isn't supported by pg_regress since the recent rewrite into C. While we could add char classes to pg_regress.c's code, it's not really needed at the moment: thanks to Andrew's patch to make pg_regress always accept the 'standard' comparison file, we can just drop the version check.
89c07b18
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 threadAug 03, 2006
CommitterFix AfterTriggerExecute() to pass tg_trigtuple and tg_newtuple as NULLs rather than pointers to garbage, when calling AFTER STATEMENT triggers. Michael Fuhr
f5b78fa5
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 threadAug 03, 2006
CommitterAdd missing pgstat_count_index_scan(), per Andreas Seltenreich.
bc8ac3ce
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 threadAug 03, 2006
CommitterA few regression tests for VALUES, from Gavin Sherry.
d841cc44
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 threadAug 03, 2006
CommitterArrange for ValuesScan to keep per-sublist expression eval state in a temporary context that can be reset when advancing to the next sublist. This is faster and more thorough at recovering space than the previous method; moreover it will do the right thing if something in the sublist tries to register an expression context callback.
0dfb595d
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 threadAug 02, 2006
CommitterBackportedFix documentation error: GRANT/REVOKE for roles only accept role names as grantees, not PUBLIC ... and you can't say GROUP either. Noted by Brian Hurt.
9649b182
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 threadAug 02, 2006
CommitterWups, got the test for contain_vars_of_level-not-needed wrong in transformInsertStmt: the target table is already in p_rtable at that point.
e79aed7c
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 threadAug 02, 2006
CommitterAdd a HINT per suggestion from Michael Glaesemann. Also, tweak OLD/NEW test to avoid expensive contain_vars_of_level() scan in the normal case where we're not inside a rule.
6392518c
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 threadAug 02, 2006
CommitterChange the relation_open protocol so that we obtain lock on a relation (table or index) before trying to open its relcache entry. This fixes race conditions in which someone else commits a change to the relation's catalog entries while we are in process of doing relcache load. Problems of that ilk have been reported sporadically for years, but it was not really practical to fix until recently --- for instance, the recent addition of WAL-log support for in-place updates helped.
09d3670d
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 threadJul 31, 2006
CommitterChange the bootstrap sequence so that toast tables for system catalogs are created in the bootstrap phase proper, rather than added after-the-fact by initdb. This is cleaner than before because it allows us to retire the undocumented ALTER TABLE ... CREATE TOAST TABLE command, but the real reason I'm doing it is so that toast tables of shared catalogs will now have predetermined OIDs. This will allow a reasonably clean solution to the problem of locking tables before we load their relcache entries, to appear in a forthcoming patch.
6e38e34d
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 threadJul 31, 2006