Re: Correct docs re: rewriting indexes when table rewrite is skipped

Поиск
Список
Период
Сортировка
От Robert Haas
Тема Re: Correct docs re: rewriting indexes when table rewrite is skipped
Дата
Msg-id CA+TgmoZeOZ-FPXeGvZFuZA2+4=yDYL+bx2B1E0R_yS9=7p5arQ@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Correct docs re: rewriting indexes when table rewrite is skipped  (James Coleman <jtc331@gmail.com>)
Ответы Re: Correct docs re: rewriting indexes when table rewrite is skipped  (James Coleman <jtc331@gmail.com>)
Список pgsql-hackers
On Thu, Mar 31, 2022 at 10:14 AM James Coleman <jtc331@gmail.com> wrote:
> Is the attached more along the lines of what you were thinking?

Yeah. Maybe this would be a little clearer: "For example, if the
collation for a column has been changed, an index rebuild is always
required, because the new sort order might be different. However, in
the absence of a collation change, a column can be changed from text
to varchar or vice versa without rebuilding the indexes, because these
data types sort identically."

We don't seem to be very consistent about whether we write type names
like VARCHAR in upper case or lower case in the documentation. I'd
vote for using lower-case, but it probably doesn't matter much.

-- 
Robert Haas
EDB: http://www.enterprisedb.com



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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: head fails to build on SLES 12
Следующее
От: Aleksander Alekseev
Дата:
Сообщение: Unit tests for SLRU