Re: Support tab completion for upper character inputs in psql

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Support tab completion for upper character inputs in psql
Дата
Msg-id 1280270.1619147839@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Support tab completion for upper character inputs in psql  (Kyotaro Horiguchi <horikyota.ntt@gmail.com>)
Ответы Re: Support tab completion for upper character inputs in psql
Список pgsql-hackers
Kyotaro Horiguchi <horikyota.ntt@gmail.com> writes:
> All usages of pg_string_tolower don't need a copy.
> So don't we change the function to in-place converter?

Doesn't seem like a good idea, because that locks us into an assumption
that the downcasing conversion doesn't change the string's physical
length.  There are a lot of counterexamples to that :-(.  I'm not sure
that we actually implement such cases correctly today, but let's not
build APIs that prevent it from being fixed.

            regards, tom lane



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Etsuro Fujita
Дата:
Сообщение: Re: Asynchronous Append on postgres_fdw nodes.
Следующее
От: Kyotaro Horiguchi
Дата:
Сообщение: Re: Support tab completion for upper character inputs in psql