On 28.12.21 19:12, Mathias Kunter wrote:
>> It's a bit moot now anyway, since pg_upgrade doesn't create
>> that script anymore in v14 and up.
>
> The docs at https://www.postgresql.org/docs/14/pgupgrade.html (step 15
> "Statistics") though say the user must "run a command to regenerate that
> information". Is the documentation up-to-date?
It actually says "you will be instructed to run a command [...]", which
is what happens: It prints out a command that you can use. It also says
"You might need to set connection parameters to match your new
cluster.", which could apply to your situation.