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.
Showing
Please register or sign in to comment