> On Wednesday, September 17, 2025, David Rowley <dgrowleyml@gmail.com> wrote: > > > 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. >
I'm not particularly excited about REWRITE, as it sounds a little bit too generic, plus we already have the "query rewriter" which rewrites, and I think it would be good that we stop overloading terms for completely different things.
Agreed
> Rebuild has some prior art apparently, which makes it appealing.
Can you cite that? I've seen "ALTER TABLE/INDEX REBUILD", but not REBUILD as a standalone command.