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 December 16, 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
Avoid a premature coercion failure in transformSetOperationTree() when presented with an UNKNOWN-type Var, which can happen in cases where an unknown literal appeared in a subquery. While many such cases will fail later on anyway in the planner, there are some cases where the planner is able to flatten the query and replace the Var by the constant before it has to coerce the union column to the final type. I had added this check in 8.4 to provide earlier/better error detection, but it causes a regression for some cases that worked OK before. Fix by not making the check if the input node is UNKNOWN type and not a Const or Param. If it isn't going to work, it will fail anyway at plan time, with the only real loss being inability to provide an error cursor. Per gripe from Britt Piehler.
52fc0075
master
8.5alpha3
REL_19_STABLE
8.5alpha3
REL_18_STABLE
8.5alpha3
REL_17_STABLE
8.5alpha3
REL_16_STABLE
8.5alpha3
REL_15_STABLE
8.5alpha3
REL_14_STABLE
8.5alpha3
REL_13_STABLE
8.5alpha3
+14 more
No linked thread
Dec 16, 2009