Skip to content
Snippets Groups Projects
Commit 8b728e5c authored by Tom Lane's avatar Tom Lane
Browse files

Fix oversight in new code for printing rangetable aliases.

In commit 11e13185, I missed the case of
a CTE RTE that doesn't have a user-defined alias, but does have an
alias assigned by set_rtable_names().  Per report from Peter Eisentraut.

While at it, refactor slightly to reduce code duplication.
parent 49ec6132
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment