Re: add function argument name to substring and substr

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: add function argument name to substring and substr
Дата
Msg-id 243365.1760371856@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: add function argument name to substring and substr  (Andrew Dunstan <andrew@dunslane.net>)
Ответы Re: add function argument name to substring and substr
Список 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 по дате отправления: