diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2002-06-13 02:04:46 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2002-06-13 02:04:46 +0000 |
commit | 59c325bb7363aed9115e9f3ccb77feca05b00ec4 (patch) | |
tree | 7527429caf2074367b85c0a91b8a90ad03020df5 /src/backend/utils/adt/ruleutils.c | |
parent | 2ed878d31dcab9dec215992c7c05e9ae40344d44 (diff) | |
download | postgresql-59c325bb7363aed9115e9f3ccb77feca05b00ec4.tar.gz postgresql-59c325bb7363aed9115e9f3ccb77feca05b00ec4.zip |
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.
Diffstat (limited to 'src/backend/utils/adt/ruleutils.c')
0 files changed, 0 insertions, 0 deletions