citusdata / citus_docs

Documentation for Citus. Distributed PostgreSQL as an extension.
Creative Commons Attribution 4.0 International
58 stars 59 forks source link

Fixes the missing steps of installation #1039

Closed rikonaka closed 2 years ago

rikonaka commented 2 years ago

Need to add the shared_preload_libraries before create extension.

root@citus3:~# sudo -i -u postgres psql -c "CREATE EXTENSION citus;"
ERROR:  Citus can only be loaded via shared_preload_libraries
HINT:  Add citus to shared_preload_libraries configuration variable in postgresql.conf in master and workers. Note that citus should be at the beginning of shared_preload_libraries.