Filter:

Commits on December 01, 2004

Commits3 commits of which 1 backported
0Author
3Committer
0Reviewer
0Reported by
0Co-author
CreditCommitBranchesThread(s)Committed
CommitterBackportedFix timestamptz_age() to do calculation in local timezone not GMT, per bug 1332.
1e6457df
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+21 more
No linked threadDec 01, 2004
CommitterClarify documentation of age() functions.
4828445d
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+20 more
No linked threadDec 01, 2004
CommitterChange planner to use the current true disk file size as its estimate of a relation's number of blocks, rather than the possibly-obsolete value in pg_class.relpages. Scale the value in pg_class.reltuples correspondingly to arrive at a hopefully more accurate number of rows. When pg_class contains 0/0, estimate a tuple width from the column datatypes and divide that into current file size to estimate number of rows. This improved methodology allows us to jettison the ancient hacks that put bogus default values into pg_class when a table is first created. Also, per a suggestion from Simon, make VACUUM (but not VACUUM FULL or ANALYZE) adjust the value it puts into pg_class.reltuples to try to represent the mean tuple density instead of the minimal density that actually prevails just after VACUUM. These changes alter the plans selected for certain regression tests, so update the expected files accordingly. (I removed join_1.out because it's not clear if it still applies; we can add back any variant versions as they are shown to be needed.)
5374d097
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+20 more
No linked threadDec 01, 2004