Hackorum
Menu
Theme
Topics
CI
Search
Statistics
Reports
Help
Sign in
Register
PostgreSQL Hackers Archive
Topics
CI
Search
Reports
Sign in
Register
Statistics
Help
Sign in
Register
Filter:
Author
Committer
Reviewer
Reported by
Co-author
Commit activity
2026
2025
2024
2023
2022
2021
2020
2019
2018
2017
2016
2015
2014
2013
2012
2011
2010
2009
2008
2007
2006
2005
2004
2003
2002
2001
2000
1999
1998
Dec
Jan
Feb
Mar
Apr
May
Jun
Jul
Aug
Sep
Oct
Nov
Dec
Wk
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
Mon
Tue
Wed
Thu
Fri
Sat
Sun
Commits on July 11, 2009
Commits
1
commit
of which 1 backported
0
Author
1
Committer
0
Reviewer
0
Reported by
0
Co-author
Credit
Commit
Branches
Thread(s)
Committed
Committer
Backported
Fix set_rel_width() to do something reasonable with non-Var items in a RelOptInfo targetlist. It used to be that the only possibility other than a Var was a RowExpr representing a whole-row child Var, but as of 8.4's expanded ability to flatten appendrel members, we can get arbitrary expressions in there. Use the expression's type info and get_typavgwidth() to produce an at-least-marginally-sane result. Note that get_typavgwidth()'s fallback estimate (32 bytes) is the same as what was here before, so there will be no behavioral change for RowExprs. Noted while looking at recent gripe about constant quals pushed down to FunctionScan appendrel members ... not only were we failing to recognize the constant qual, we were getting the width estimate wrong :-(
014be150
master
8.5alpha1
REL_19_STABLE
8.5alpha1
REL_18_STABLE
8.5alpha1
REL_17_STABLE
8.5alpha1
REL_16_STABLE
8.5alpha1
REL_15_STABLE
8.5alpha1
REL_14_STABLE
8.5alpha1
REL_13_STABLE
8.5alpha1
+16 more
No linked thread
Jul 11, 2009