# HG changeset patch # User Kim Alvefur # Date 1744357643 -7200 # Node ID 14a4c0d774f2022e5ffcd99c9877532f3c2ffc99 # Parent bb15cbb856a133052b896a6effe7999946ee2f6b# Parent 2558be2daacaface5cc5d260d63033a7288407d7 Merge 13.0->trunk diff -r bb15cbb856a1 -r 14a4c0d774f2 plugins/mod_storage_sql.lua --- a/plugins/mod_storage_sql.lua Thu Apr 10 16:07:54 2025 +0100 +++ b/plugins/mod_storage_sql.lua Fri Apr 11 09:47:23 2025 +0200 @@ -883,7 +883,7 @@ indices[row[1]] = true; end elseif params.driver == "PostgreSQL" then - for row in engine:select [[SELECT "indexname" FROM "pg_indexes" WHERE "tablename"='prosody' AND "indexname"='prosody_index';]] do + for row in engine:select [[SELECT "indexname" FROM "pg_indexes" WHERE "tablename"='prosody';]] do indices[row[1]] = true; end end