pgsql: Fix display of SQL-standard function's arguments in INSERT/SELEC

2021-11-17 Thread Tom Lane
Fix display of SQL-standard function's arguments in INSERT/SELECT. If a SQL-standard function body contains an INSERT ... SELECT statement, any function parameters referenced within the SELECT were always printed in $N style, rather than using the parameter name if any. While not strictly incorre

pgsql: Fix display of SQL-standard function's arguments in INSERT/SELEC

2021-11-17 Thread Tom Lane
Fix display of SQL-standard function's arguments in INSERT/SELECT. If a SQL-standard function body contains an INSERT ... SELECT statement, any function parameters referenced within the SELECT were always printed in $N style, rather than using the parameter name if any. While not strictly incorre