Didn't correct output for LTRIM function

Поиск
Список
Период
Сортировка
От PG Doc comments form
Тема Didn't correct output for LTRIM function
Дата
Msg-id 165508477855.573547.14409154187053327475@wrigleys.postgresql.org
обсуждение исходный текст
Ответы Re: Didn't correct output for LTRIM function  (Guillaume Lelarge <guillaume@lelarge.info>)
Список pgsql-docs
The following documentation comment has been logged on the website:

Page: https://www.postgresql.org/docs/14/bug-reporting.html
Description:

First check the output of "select LTRIM('  startech academy ', '  sta');"
  output is "rtech academy "
now the thing is output of "select LTRIM('  startech academy ', '  star');"
   output is "ech academy "
the question is where is 't'?

The problem is when we do LTRIM for trimming the first four characters, it
trims the first five characters. but in the case of doing three characters,
it gives the correct output.

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

Предыдущее
От: "David G. Johnston"
Дата:
Сообщение: Re: COPY FROM
Следующее
От: Guillaume Lelarge
Дата:
Сообщение: Re: Didn't correct output for LTRIM function