Skip to content

Commit 8ce78de

Browse files
committed
add pg_textsearch to preloaded libs
Signed-off-by: Ettore Di Giacinto <mudler@localai.io>
1 parent 7e4b5f3 commit 8ce78de

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/postgres-init.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ if [ ! -s "$PGDATA/PG_VERSION" ]; then
5858
echo "max_connections = 100" >> "$PGDATA/postgresql.conf"
5959
echo "shared_buffers = 128MB" >> "$PGDATA/postgresql.conf"
6060
# TimescaleDB requires shared_preload_libraries
61-
echo "shared_preload_libraries = 'timescaledb'" >> "$PGDATA/postgresql.conf"
61+
echo "shared_preload_libraries = 'timescaledb,pg_textsearch'" >> "$PGDATA/postgresql.conf"
6262
echo "timescaledb.license = 'timescale'" >> "$PGDATA/postgresql.conf"
6363

6464
# Start PostgreSQL temporarily to run init scripts

0 commit comments

Comments
 (0)