Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
reindex-textual-data: Reindex textual functional indexes too.
Anders Kaseorg1cc1de82cd57
diff --git a/scripts/setup/reindex-textual-data b/scripts/setup/reindex-textual-dataindex 4a817af0638..29d50ca0749 100755--- a/scripts/setup/reindex-textual-data+++ b/scripts/setup/reindex-textual-data@@ -65,9 +65,7 @@ FROMJOIN pg_class AS trel ON trel.oid = i.indrelidJOIN pg_namespace AS tnsp ON trel.relnamespace = tnsp.oidJOIN pg_class AS irel ON irel.oid = i.indexrelid- CROSS JOIN unnest(i.indkey) colnum- JOIN pg_attribute AS a ON trel.oid = a.attrelid- AND a.attnum = colnum+ JOIN pg_attribute AS a ON a.attrelid = i.indexrelidWHERE tnsp.nspname = 'zulip'AND a.attcollation != 0GROUP BY 1, 2, i.indrelid