Open marco44 opened 6 months ago
Thanks for the report!
I didn't have a lot of time to look at it (and I haven't touch this project for a long time so my memories are a bit fuzzy unfortunately), but as far as I can see I don't have any code related to REINDEX CONCURRENTLY (or CREATE INDEX CONCURRENTLY, which arguably would also need to discard a shared plan).
I will take care of it as soon as possible.
I just fixed it in 4cd59f71f9c117c23d47603fbf4b18e90409ad0d (and also added support for pg17 while at it).
Sorry for the time to fix it, things have unfortunately been quite busy :(
doesn't seem to accept reindex database:
nextcloud=# reindex database nextcloud ;
ERROR: pg_shared_plans bug, unexpected reindex kind 4
Reindex table and reindex index seem ok though I'll see if this crashes in the next few days
With PG16, after a reindex concurrently, I get