Filter:

Commits on April 30, 2007

Commits6 commits
0Author
6Committer
0Reviewer
0Reported by
0Co-author
CreditCommitBranchesThread(s)Committed
CommitterChange the timestamps recorded in transaction commit/abort xlog records from time_t to TimestampTz representation. This provides full gettimeofday() resolution of the timestamps, which might be useful when attempting to do point-in-time recovery --- previously it was not possible to specify the stop point with sub-second resolution. But mostly this is to get rid of TimestampTz-to-time_t conversion overhead during commit. Per my proposal of a day or two back.
c4320619
master8.3beta1REL_19_STABLE8.3beta1REL_18_STABLE8.3beta1REL_17_STABLE8.3beta1REL_16_STABLE8.3beta1REL_15_STABLE8.3beta1REL_14_STABLE8.3beta1REL_13_STABLE8.3beta1+17 more
No linked threadApr 30, 2007
CommitterFix oversight in my patch of yesterday: forgot to ensure that stats would still be forced out at backend exit.
641912b4
master8.3beta1REL_19_STABLE8.3beta1REL_18_STABLE8.3beta1REL_17_STABLE8.3beta1REL_16_STABLE8.3beta1REL_15_STABLE8.3beta1REL_14_STABLE8.3beta1REL_13_STABLE8.3beta1+17 more
No linked threadApr 30, 2007
CommitterImplement rate-limiting logic on how often backends will attempt to send messages to the stats collector. This avoids the problem that enabling stats_row_level for autovacuum has a significant overhead for short read-only transactions, as noted by Arjen van der Meijden. We can avoid an extra gettimeofday call by piggybacking on the one done for WAL-logging xact commit or abort (although that doesn't help read-only transactions, since they don't WAL-log anything).
957d08c8
master8.3beta1REL_19_STABLE8.3beta1REL_18_STABLE8.3beta1REL_17_STABLE8.3beta1REL_16_STABLE8.3beta1REL_15_STABLE8.3beta1REL_14_STABLE8.3beta1REL_13_STABLE8.3beta1+17 more
No linked threadApr 30, 2007
CommitterMarginal performance hack: use a dedicated routine instead of copyObject to copy nodes that are known to be Vars during plan reference adjustment. Saves useless memzero operation as well as the big switch in copyObject.
57b82bf3
master8.3beta1REL_19_STABLE8.3beta1REL_18_STABLE8.3beta1REL_17_STABLE8.3beta1REL_16_STABLE8.3beta1REL_15_STABLE8.3beta1REL_14_STABLE8.3beta1REL_13_STABLE8.3beta1+17 more
No linked threadApr 30, 2007
CommitterMarginal performance hack: avoid unnecessary work in expression_tree_mutator. We can just palloc, instead of using makeNode, when we are going to overwrite the whole node anyway in the FLATCOPY macro. Also, use FLATCOPY instead of copyObject for common node types Var and Const.
afaa6b98
master8.3beta1REL_19_STABLE8.3beta1REL_18_STABLE8.3beta1REL_17_STABLE8.3beta1REL_16_STABLE8.3beta1REL_15_STABLE8.3beta1REL_14_STABLE8.3beta1REL_13_STABLE8.3beta1+17 more
No linked threadApr 30, 2007
CommitterMarginal performance hack: remove the loop that used to be needed to look through a freelist for a chunk of adequate size. For a long time now, all elements of a given freelist have been exactly the same allocated size, so we don't need a loop. Since the loop never iterated more than once, you'd think this wouldn't matter much, but it makes a noticeable savings in a simple test --- perhaps because the compiler isn't optimizing on a mistaken assumption that the loop would repeat. AllocSetAlloc is called often enough that saving even a couple of instructions is worthwhile.
39a333aa
master8.3beta1REL_19_STABLE8.3beta1REL_18_STABLE8.3beta1REL_17_STABLE8.3beta1REL_16_STABLE8.3beta1REL_15_STABLE8.3beta1REL_14_STABLE8.3beta1REL_13_STABLE8.3beta1+17 more
No linked threadApr 30, 2007