Sign inSign up

mixdeve/postgres-zhparser

By mixdeve

•Updated about 12 hours ago

PostgreSQL build with zhparser plugin.

Image
Databases & storage
2

50K+

mixdeve/postgres-zhparser repository overview

⁠postgres-zhparser

Docker build scripts for https://github.com/amutu/zhparser⁠ PostgreSQL extension.

Docker Image CI

Docker Pulls

⁠Usage

  • Supported versions:

    • 12
    • 13
    • 14
    • 15
    • 16
    • 17
    • 18
  • Supported architectures:

    • linux/amd64
    • linux/arm64
docker run -d \
    --name postgres \
    -p 5432:5432 \
    -e POSTGRES_PASSWORD=postgres \
    ghcr.io/mnixry/postgres-zhparser:16

That's it. You can now connect to the PostgreSQL server, or use psql to test the extension:

docker exec -it postgres psql -U postgres
# > select to_tsvector('chinese', '小明爱吃苹果');
# ---------------------------------
#  '吃':3 '小明':1 '爱':2 '苹果':4
# (1 row)

⁠License

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program.  If not, see <https://www.gnu.org/licenses/>.

Tag summary

Content type

Image

Digest

sha256:c3f574232…

Size

165.1 MB

Last updated

about 12 hours ago

docker pull mixdeve/postgres-zhparser:12