Peter Smith <smithpb2...@gmail.com> writes: > Sorry, I forgot the attachments in the previous post. PSA.
I spent a bit of time looking at this. I agree that a lot of the current ordering choices here look like they were made with the advice of a dartboard, and there's a number of things that are pretty blatantly just sloppy merging (like the out-of-order wait-event items). However, I'm not a big fan of "alphabetical order at all costs", because that frequently leads to ordering decisions that are not a lot better than random from a semantic standpoint. For example, I resist the idea that it's sensible to put pg_stat_all_indexes before pg_stat_all_tables. I'm unconvinced that putting pg_stat_sys_tables and pg_stat_user_tables far away from pg_stat_all_tables is great, either. So ... how do we proceed? One thing I'm unhappy about that you didn't address is that the subsection ordering in "28.4. Progress Reporting" could hardly have been invented even with a dartboard. Perhaps it reflects development order, but that's a poor excuse. I'd be inclined to alphabetize by SQL command name, but maybe leave Base Backup to the end since it's not a SQL command. regards, tom lane