Skip to content
Snippets Groups Projects
Commit 16c2ad61 authored by Thomas Mortagne's avatar Thomas Mortagne Committed by Michael Hamann
Browse files

XWIKI-22605: Solr re-indexes many documents after restarting on PostgreSQL

* add some explanation on why we use this

(cherry picked from commit b6efa942)
parent 34fad55e
No related branches found
No related tags found
No related merge requests found
......@@ -12,6 +12,7 @@ if [ -f /usr/share/dbconfig-common/dpkg/postinst.pgsql ]; then
. /usr/share/dbconfig-common/dpkg/postinst.pgsql
# Make sure the new database uses the right encoding and collation
# Ideally we would use "UTF8' LOCALE_PROVIDER = 'builtin' LOCALE = 'C.UTF-8", but this only works in PosgreSQL 17+
dbc_pgsql_createdb_encoding="UTF8' lc_collate='C"
dbc_generate_include='template:/etc/xwiki/hibernate.cfg.xml'
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment