mirror of https://github.com/postgres/postgres
Repair for bug #691 --- CREATE TABLE AS column aliases fail to be
applied when the select is a UNION (or other set-operation). An alternative route to a fix would be to leave analyze.c alone and change plan_set_operations in prepunion.c to take column names from the topmost targetlist. But I am not sure that would work in all cases. This patch seems the minimum-risk fix.ecpg_big_bison
parent
2ed878d31d
commit
59c325bb73
Loading…
Reference in new issue