Re: add function argument name to substring and substr
| От | Peter Eisentraut |
|---|---|
| Тема | Re: add function argument name to substring and substr |
| Дата | |
| Msg-id | c8a81a18-d3e6-4386-a0ca-efc88dcce301@eisentraut.org обсуждение |
| Ответ на | Re: add function argument name to substring and substr (jian he <jian.universality@gmail.com>) |
| Ответы |
Re: add function argument name to substring and substr
|
| Список | pgsql-hackers |
On 31.12.25 08:47, jian he wrote: > rebased, and rechecked it again. > > seems no changes to the citext extension are required, since the citext data > type does not define specialized substring/substr function. I don't really see the point of this. These are standardized functions, and people should be using them in the standardized ways. By adding parameter names, we are opening up the use of these in nonstandard and unportable ways. I don't think the arguments of these functions are terribly confusing that use of named parameters adds much value. At least I didn't see this argument being made. Furthermore, if we somehow decided to do this, let's not do it four functions at a time but have a general plan about whether, why, and how to add parameter names to built-in/standard functions.
В списке pgsql-hackers по дате отправления: