Re: Re: proposal - using names as primary names of plpgsql function parameters instead $ based names
Tom Lane <tgl@sss.pgh.pa.us>
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Jeevan Chalke <jeevan.chalke@enterprisedb.com>
Cc: Pavel Stehule <pavel.stehule@gmail.com>,
Peter Eisentraut <peter.eisentraut@2ndquadrant.com>,
PostgreSQL Hackers <pgsql-hackers@postgresql.org>
Date: 2017-09-11T20:28:01Z
Lists: pgsql-hackers
Jeevan Chalke <jeevan.chalke@enterprisedb.com> writes: [ psql-named-arguments-03-jeevan.patch ] Pushed with minor simplification of the test case. I'm not quite as convinced as Pavel that this is an improvement --- it will make error messages inconsistent between named and unnamed arguments. Still, I follow the point that when there are a lot of arguments, $n is pretty unhelpful. We can always revert this if we get complaints. regards, tom lane
Commits
-
Prefer argument name over "$n" for the refname of a plpgsql argument.
- b8060e41b599 11.0 landed