Re: add function argument name to substring and substr - Mailing list pgsql-hackers

From Tom Lane
Subject Re: add function argument name to substring and substr
Date
Msg-id 243365.1760371856@sss.pgh.pa.us
Whole thread Raw
In response to Re: add function argument name to substring and substr  (Andrew Dunstan <andrew@dunslane.net>)
List pgsql-hackers
Andrew Dunstan <andrew@dunslane.net> writes:
> I'm late to the party on this, but I wonder if it wouldn't be better to 
> use a type-neutral parameter name here, like "source", which could cover 
> all these cases, instead of "string", "bytes", etc.

+1 for that idea.  As Jian notes, we'd need to make the docs match,
but I think that this would be an improvement across the board.
Parameter names like "string" don't convey much information.

            regards, tom lane



pgsql-hackers by date:

Previous
From: Melanie Plageman
Date:
Subject: Re: Fix overflow of nbatch
Next
From: Melanie Plageman
Date:
Subject: Re: Fix overflow of nbatch