Changeset

13846:14a4c0d774f2

Merge 13.0->trunk
author Kim Alvefur <zash@zash.se>
date Fri, 11 Apr 2025 09:47:23 +0200
parents 13844:bb15cbb856a1 (current diff) 13845:2558be2daaca (diff)
children 13848:45c508a12865
files
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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