Re: REPACK and naming

Поиск
Список
Период
Сортировка
От David Rowley
Тема Re: REPACK and naming
Дата
Msg-id CAApHDvrr1ZqdNnZ8exqz6vX9bGbr=WmCKj6kbKE1B+ay6FYh8Q@mail.gmail.com
обсуждение исходный текст
Ответ на Re: REPACK and naming  (Robert Haas <robertmhaas@gmail.com>)
Ответы REPACK and naming
Список pgsql-hackers
On Thu, 18 Sept 2025 at 01:09, Robert Haas <robertmhaas@gmail.com> wrote:
> RETABLE just isn't a word. The code sometimes calls this a REWRITE of
> a table, which would be reasonable.

+1. I was reading this yesterday wondering why "REWRITE" didn't get a
mention.  The problem I have with REPACK is that "re" indicates that
something is being re-done that's been done before. If you're calling
REPACK for the first time on a table, that's not true.

David J's "REBUILD" also seems ok.  In a green field, you could then
have "REBUILD TABLE ..." and "REBUILD INDEX ..."

David



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