fengkx / postgres-docker

Self-use postgres docker image with chinese fulltext search and somes extra extensions
https://hub.docker.com/r/fengkx/postgres
7 stars 3 forks source link
chinese-full-text-search docker docker-image postgresql zhparser

postgres-docker

Self-use postgres docker image with following changes

Extensions

  1. postgresql-contrib with pg_stat_statements enable
  2. zhparser full-text search of Chinese
  3. pg-safeupdate require SQL Where Clause in update/delete
  4. pg_cron run cron job

Cofnig

  1. default_text_search_config set to 'chinese' to use zhparser
  2. pg_stat_statements, safeupdate load by default
  3. max_replication_slots if USE_REPLICATION env is set

more in this file