Filter:

Commits on October 11, 2007

Commits4 commits of which 1 backported
0Author
4Committer
0Reviewer
0Reported by
0Co-author
CreditCommitBranchesThread(s)Committed
CommitterBackportedEnsure that the result of evaluating a function during constant-expression simplification gets detoasted before it is incorporated into a Const node. Otherwise, if an immutable function were to return a TOAST pointer (an unlikely case, but it can be made to happen), we would end up with a plan that depends on the continued existence of the out-of-line toast datum.
2b0c86b6
master8.3beta2REL_19_STABLE8.3beta2REL_18_STABLE8.3beta2REL_17_STABLE8.3beta2REL_16_STABLE8.3beta2REL_15_STABLE8.3beta2REL_14_STABLE8.3beta2REL_13_STABLE8.3beta2+22 more
No linked threadOct 11, 2007
CommitterCode review for txid patch: add binary I/O functions, avoid dependence on SerializableSnapshot, minor other cleanup. Marko Kreen, some further editorialization by me.
d77717ba
master8.3beta2REL_19_STABLE8.3beta2REL_18_STABLE8.3beta2REL_17_STABLE8.3beta2REL_16_STABLE8.3beta2REL_15_STABLE8.3beta2REL_14_STABLE8.3beta2REL_13_STABLE8.3beta2+17 more
No linked threadOct 11, 2007
CommitterRemove incorrect use of VARSIZE() on a toasted datum. We can just remove it instead of fix it, since once we've set toast_action[i] to 'p' it no longer matters what toast_sizes[i] is. Greg Stark
56b7695c
master8.3beta2REL_19_STABLE8.3beta2REL_18_STABLE8.3beta2REL_17_STABLE8.3beta2REL_16_STABLE8.3beta2REL_15_STABLE8.3beta2REL_14_STABLE8.3beta2REL_13_STABLE8.3beta2+17 more
No linked threadOct 11, 2007
CommitterFix the plan-invalidation mechanism to treat regclass constants that refer to a relation as a reason to invalidate a plan when the relation changes. This handles scenarios such as dropping/recreating a sequence that is referenced by nextval('seq') in a cached plan. Rather than teach plancache.c all about digging through plan trees to find regclass Consts, we charge the planner's setrefs.c with making a list of the relation OIDs on which each plan depends. That way the list can be built cheaply during a plan tree traversal that has to happen anyway. Per bug #3662 and subsequent discussion.
82d8ab6f
master8.3beta2REL_19_STABLE8.3beta2REL_18_STABLE8.3beta2REL_17_STABLE8.3beta2REL_16_STABLE8.3beta2REL_15_STABLE8.3beta2REL_14_STABLE8.3beta2REL_13_STABLE8.3beta2+17 more
No linked threadOct 11, 2007