pg_bigm

pg_bigm

pg_bigm : create 2-gram (bigram) index for faster full text search.

Overview

IDExtensionPackageVersionCategoryLicenseLanguage
2120
pg_bigm
pg_bigm
1.2
FTS
PostgreSQL
C
AttributeHas BinaryHas LibraryNeed LoadHas DDLRelocatableTrusted
--sLd-r
No
Yes
Yes
Yes
yes
no
Relationships
See Also
pg_search
pgroonga
zhparser
pg_trgm
pgroonga_database
pg_tokenizer
fuzzystrmatch
rum

Packages

TypeRepoVersionPG Major CompatibilityPackage PatternDependencies
EXT
MIXED
1.2
18
17
16
15
14
pg_bigm-
RPM
PGDG
1.2
18
17
16
15
14
pg_bigm_$v-
DEB
PIGSTY
1.2
18
17
16
15
14
postgresql-$v-pg-bigm-
Linux / PGPG18PG17PG16PG15PG14
el8.x86_64
PGDG 1.2
PGDG 1.2
PGDG 1.2
PGDG 1.2
PGDG 1.2
el8.aarch64
PGDG 1.2
PGDG 1.2
PGDG 1.2
PGDG 1.2
PGDG 1.2
el9.x86_64
PGDG 1.2
PGDG 1.2
PGDG 1.2
PGDG 1.2
PGDG 1.2
el9.aarch64
PGDG 1.2
PGDG 1.2
PGDG 1.2
PGDG 1.2
PGDG 1.2
el10.x86_64
PGDG 1.2
PGDG 1.2
PGDG 1.2
PGDG 1.2
PGDG 1.2
el10.aarch64
PGDG 1.2
PGDG 1.2
PGDG 1.2
PGDG 1.2
PGDG 1.2
d12.x86_64
PIGSTY 1.2
PIGSTY 1.2
PIGSTY 1.2
PIGSTY 1.2
PIGSTY 1.2
d12.aarch64
PIGSTY 1.2
PIGSTY 1.2
PIGSTY 1.2
PIGSTY 1.2
PIGSTY 1.2
d13.x86_64
PIGSTY 1.2
PIGSTY 1.2
PIGSTY 1.2
PIGSTY 1.2
PIGSTY 1.2
d13.aarch64
PIGSTY 1.2
PIGSTY 1.2
PIGSTY 1.2
PIGSTY 1.2
PIGSTY 1.2
u22.x86_64
PIGSTY 1.2
PIGSTY 1.2
PIGSTY 1.2
PIGSTY 1.2
PIGSTY 1.2
u22.aarch64
PIGSTY 1.2
PIGSTY 1.2
PIGSTY 1.2
PIGSTY 1.2
PIGSTY 1.2
u24.x86_64
PIGSTY 1.2
PIGSTY 1.2
PIGSTY 1.2
PIGSTY 1.2
PIGSTY 1.2
u24.aarch64
PIGSTY 1.2
PIGSTY 1.2
PIGSTY 1.2
PIGSTY 1.2
PIGSTY 1.2
PackageVersionOSORGSIZEFile URL
pg_bigm_181.2el8.x86_64pgdg20.6 KiBpg_bigm_18-1.2_20250903-1PGDG.rhel8.x86_64.rpm
pg_bigm_181.2el8.x86_64pigsty19.9 KiBpg_bigm_18-1.2-2PIGSTY.el8.x86_64.rpm
pg_bigm_181.2el8.aarch64pgdg20.3 KiBpg_bigm_18-1.2_20250903-1PGDG.rhel8.aarch64.rpm
pg_bigm_181.2el8.aarch64pigsty19.8 KiBpg_bigm_18-1.2-2PIGSTY.el8.aarch64.rpm
pg_bigm_181.2el9.x86_64pgdg21.0 KiBpg_bigm_18-1.2_20250903-1PGDG.rhel9.x86_64.rpm
pg_bigm_181.2el9.x86_64pigsty19.7 KiBpg_bigm_18-1.2-2PIGSTY.el9.x86_64.rpm
pg_bigm_181.2el9.aarch64pgdg20.5 KiBpg_bigm_18-1.2_20250903-1PGDG.rhel9.aarch64.rpm
pg_bigm_181.2el9.aarch64pigsty19.7 KiBpg_bigm_18-1.2-2PIGSTY.el9.aarch64.rpm
pg_bigm_181.2el10.x86_64pgdg21.6 KiBpg_bigm_18-1.2_20250903-1PGDG.rhel10.x86_64.rpm
pg_bigm_181.2el10.x86_64pigsty20.0 KiBpg_bigm_18-1.2-2PIGSTY.el10.x86_64.rpm
pg_bigm_181.2el10.aarch64pgdg21.3 KiBpg_bigm_18-1.2_20250903-1PGDG.rhel10.aarch64.rpm
pg_bigm_181.2el10.aarch64pigsty20.0 KiBpg_bigm_18-1.2-2PIGSTY.el10.aarch64.rpm
postgresql-18-pg-bigm1.2d12.x86_64pigsty28.4 KiBpostgresql-18-pg-bigm_1.2-20250903PIGSTY~bookworm_amd64.deb
postgresql-18-pg-bigm1.2d12.aarch64pigsty28.1 KiBpostgresql-18-pg-bigm_1.2-20250903PIGSTY~bookworm_arm64.deb
postgresql-18-pg-bigm1.2d13.x86_64pigsty28.6 KiBpostgresql-18-pg-bigm_1.2-20250903PIGSTY~trixie_amd64.deb
postgresql-18-pg-bigm1.2d13.aarch64pigsty28.3 KiBpostgresql-18-pg-bigm_1.2-20250903PIGSTY~trixie_arm64.deb
postgresql-18-pg-bigm1.2u22.x86_64pigsty29.8 KiBpostgresql-18-pg-bigm_1.2-20250903PIGSTY~jammy_amd64.deb
postgresql-18-pg-bigm1.2u22.aarch64pigsty29.8 KiBpostgresql-18-pg-bigm_1.2-20250903PIGSTY~jammy_arm64.deb
postgresql-18-pg-bigm1.2u24.x86_64pigsty29.6 KiBpostgresql-18-pg-bigm_1.2-20250903PIGSTY~noble_amd64.deb
postgresql-18-pg-bigm1.2u24.aarch64pigsty29.6 KiBpostgresql-18-pg-bigm_1.2-20250903PIGSTY~noble_arm64.deb
PackageVersionOSORGSIZEFile URL
pg_bigm_171.2el8.x86_64pgdg20.4 KiBpg_bigm_17-1.2_20250903-1PGDG.rhel8.x86_64.rpm
pg_bigm_171.2el8.x86_64pgdg18.5 KiBpg_bigm_17-1.2_20240606-2PGDG.rhel8.x86_64.rpm
pg_bigm_171.2el8.x86_64pigsty19.7 KiBpg_bigm_17-1.2-2PIGSTY.el8.x86_64.rpm
pg_bigm_171.2el8.aarch64pgdg20.1 KiBpg_bigm_17-1.2_20250903-1PGDG.rhel8.aarch64.rpm
pg_bigm_171.2el8.aarch64pgdg18.3 KiBpg_bigm_17-1.2_20240606-2PGDG.rhel8.aarch64.rpm
pg_bigm_171.2el8.aarch64pigsty19.6 KiBpg_bigm_17-1.2-2PIGSTY.el8.aarch64.rpm
pg_bigm_171.2el9.x86_64pgdg20.8 KiBpg_bigm_17-1.2_20250903-1PGDG.rhel9.x86_64.rpm
pg_bigm_171.2el9.x86_64pgdg18.9 KiBpg_bigm_17-1.2_20240606-2PGDG.rhel9.x86_64.rpm
pg_bigm_171.2el9.x86_64pigsty19.5 KiBpg_bigm_17-1.2-2PIGSTY.el9.x86_64.rpm
pg_bigm_171.2el9.aarch64pgdg20.4 KiBpg_bigm_17-1.2_20250903-1PGDG.rhel9.aarch64.rpm
pg_bigm_171.2el9.aarch64pgdg18.6 KiBpg_bigm_17-1.2_20240606-2PGDG.rhel9.aarch64.rpm
pg_bigm_171.2el9.aarch64pigsty19.5 KiBpg_bigm_17-1.2-2PIGSTY.el9.aarch64.rpm
pg_bigm_171.2el10.x86_64pgdg21.4 KiBpg_bigm_17-1.2_20250903-1PGDG.rhel10.x86_64.rpm
pg_bigm_171.2el10.x86_64pgdg21.2 KiBpg_bigm_17-1.2_20240606-3PGDG.rhel10.x86_64.rpm
pg_bigm_171.2el10.x86_64pigsty19.8 KiBpg_bigm_17-1.2-2PIGSTY.el10.x86_64.rpm
pg_bigm_171.2el10.x86_64pigsty19.5 KiBpg_bigm_17-1.2-1PIGSTY.el10.x86_64.rpm
pg_bigm_171.2el10.aarch64pgdg21.1 KiBpg_bigm_17-1.2_20250903-1PGDG.rhel10.aarch64.rpm
pg_bigm_171.2el10.aarch64pgdg20.9 KiBpg_bigm_17-1.2_20240606-3PGDG.rhel10.aarch64.rpm
pg_bigm_171.2el10.aarch64pigsty19.8 KiBpg_bigm_17-1.2-2PIGSTY.el10.aarch64.rpm
pg_bigm_171.2el10.aarch64pigsty19.7 KiBpg_bigm_17-1.2-1PIGSTY.el10.aarch64.rpm
postgresql-17-pg-bigm1.2d12.x86_64pigsty27.0 KiBpostgresql-17-pg-bigm_1.2-20250903PIGSTY~bookworm_amd64.deb
postgresql-17-pg-bigm1.2d12.aarch64pigsty26.8 KiBpostgresql-17-pg-bigm_1.2-20250903PIGSTY~bookworm_arm64.deb
postgresql-17-pg-bigm1.2d13.x86_64pigsty27.1 KiBpostgresql-17-pg-bigm_1.2-20250903PIGSTY~trixie_amd64.deb
postgresql-17-pg-bigm1.2d13.aarch64pigsty27.0 KiBpostgresql-17-pg-bigm_1.2-20250903PIGSTY~trixie_arm64.deb
postgresql-17-pg-bigm1.2u22.x86_64pigsty32.1 KiBpostgresql-17-pg-bigm_1.2-20250903PIGSTY~jammy_amd64.deb
postgresql-17-pg-bigm1.2u22.aarch64pigsty31.8 KiBpostgresql-17-pg-bigm_1.2-20250903PIGSTY~jammy_arm64.deb
postgresql-17-pg-bigm1.2u24.x86_64pigsty28.2 KiBpostgresql-17-pg-bigm_1.2-20250903PIGSTY~noble_amd64.deb
postgresql-17-pg-bigm1.2u24.aarch64pigsty28.2 KiBpostgresql-17-pg-bigm_1.2-20250903PIGSTY~noble_arm64.deb
PackageVersionOSORGSIZEFile URL
pg_bigm_161.2el8.x86_64pgdg20.4 KiBpg_bigm_16-1.2_20250903-1PGDG.rhel8.x86_64.rpm
pg_bigm_161.2el8.x86_64pgdg18.4 KiBpg_bigm_16-1.2_20240606-1PGDG.rhel8.x86_64.rpm
pg_bigm_161.2el8.x86_64pigsty19.7 KiBpg_bigm_16-1.2-2PIGSTY.el8.x86_64.rpm
pg_bigm_161.2el8.x86_64pgdg18.2 KiBpg_bigm_16-1.2-1PGDG.rhel8.x86_64.rpm
pg_bigm_161.2el8.aarch64pgdg20.1 KiBpg_bigm_16-1.2_20250903-1PGDG.rhel8.aarch64.rpm
pg_bigm_161.2el8.aarch64pgdg18.2 KiBpg_bigm_16-1.2_20240606-1PGDG.rhel8.aarch64.rpm
pg_bigm_161.2el8.aarch64pigsty19.6 KiBpg_bigm_16-1.2-2PIGSTY.el8.aarch64.rpm
pg_bigm_161.2el8.aarch64pgdg18.0 KiBpg_bigm_16-1.2-1PGDG.rhel8.aarch64.rpm
pg_bigm_161.2el9.x86_64pgdg20.8 KiBpg_bigm_16-1.2_20250903-1PGDG.rhel9.x86_64.rpm
pg_bigm_161.2el9.x86_64pgdg18.8 KiBpg_bigm_16-1.2_20240606-1PGDG.rhel9.x86_64.rpm
pg_bigm_161.2el9.x86_64pigsty19.5 KiBpg_bigm_16-1.2-2PIGSTY.el9.x86_64.rpm
pg_bigm_161.2el9.x86_64pgdg18.4 KiBpg_bigm_16-1.2-1PGDG.rhel9.x86_64.rpm
pg_bigm_161.2el9.aarch64pgdg20.4 KiBpg_bigm_16-1.2_20250903-1PGDG.rhel9.aarch64.rpm
pg_bigm_161.2el9.aarch64pgdg18.5 KiBpg_bigm_16-1.2_20240606-1PGDG.rhel9.aarch64.rpm
pg_bigm_161.2el9.aarch64pigsty19.5 KiBpg_bigm_16-1.2-2PIGSTY.el9.aarch64.rpm
pg_bigm_161.2el9.aarch64pgdg18.1 KiBpg_bigm_16-1.2-1PGDG.rhel9.aarch64.rpm
pg_bigm_161.2el10.x86_64pgdg21.4 KiBpg_bigm_16-1.2_20250903-1PGDG.rhel10.x86_64.rpm
pg_bigm_161.2el10.x86_64pgdg21.2 KiBpg_bigm_16-1.2_20240606-3PGDG.rhel10.x86_64.rpm
pg_bigm_161.2el10.x86_64pigsty19.8 KiBpg_bigm_16-1.2-2PIGSTY.el10.x86_64.rpm
pg_bigm_161.2el10.x86_64pigsty19.5 KiBpg_bigm_16-1.2-1PIGSTY.el10.x86_64.rpm
pg_bigm_161.2el10.aarch64pgdg21.2 KiBpg_bigm_16-1.2_20250903-1PGDG.rhel10.aarch64.rpm
pg_bigm_161.2el10.aarch64pgdg21.0 KiBpg_bigm_16-1.2_20240606-3PGDG.rhel10.aarch64.rpm
pg_bigm_161.2el10.aarch64pigsty19.8 KiBpg_bigm_16-1.2-2PIGSTY.el10.aarch64.rpm
pg_bigm_161.2el10.aarch64pigsty19.7 KiBpg_bigm_16-1.2-1PIGSTY.el10.aarch64.rpm
postgresql-16-pg-bigm1.2d12.x86_64pigsty27.0 KiBpostgresql-16-pg-bigm_1.2-20250903PIGSTY~bookworm_amd64.deb
postgresql-16-pg-bigm1.2d12.aarch64pigsty26.8 KiBpostgresql-16-pg-bigm_1.2-20250903PIGSTY~bookworm_arm64.deb
postgresql-16-pg-bigm1.2d13.x86_64pigsty27.1 KiBpostgresql-16-pg-bigm_1.2-20250903PIGSTY~trixie_amd64.deb
postgresql-16-pg-bigm1.2d13.aarch64pigsty27.0 KiBpostgresql-16-pg-bigm_1.2-20250903PIGSTY~trixie_arm64.deb
postgresql-16-pg-bigm1.2u22.x86_64pigsty32.0 KiBpostgresql-16-pg-bigm_1.2-20250903PIGSTY~jammy_amd64.deb
postgresql-16-pg-bigm1.2u22.aarch64pigsty31.7 KiBpostgresql-16-pg-bigm_1.2-20250903PIGSTY~jammy_arm64.deb
postgresql-16-pg-bigm1.2u24.x86_64pigsty28.2 KiBpostgresql-16-pg-bigm_1.2-20250903PIGSTY~noble_amd64.deb
postgresql-16-pg-bigm1.2u24.aarch64pigsty28.2 KiBpostgresql-16-pg-bigm_1.2-20250903PIGSTY~noble_arm64.deb
PackageVersionOSORGSIZEFile URL
pg_bigm_151.2el8.x86_64pgdg20.5 KiBpg_bigm_15-1.2_20250903-1PGDG.rhel8.x86_64.rpm
pg_bigm_151.2el8.x86_64pgdg18.6 KiBpg_bigm_15-1.2_20240606-1PGDG.rhel8.x86_64.rpm
pg_bigm_151.2el8.x86_64pigsty19.8 KiBpg_bigm_15-1.2-2PIGSTY.el8.x86_64.rpm
pg_bigm_151.2el8.x86_64pgdg18.4 KiBpg_bigm_15-1.2-1PGDG.rhel8.x86_64.rpm
pg_bigm_151.2el8.aarch64pgdg20.3 KiBpg_bigm_15-1.2_20250903-1PGDG.rhel8.aarch64.rpm
pg_bigm_151.2el8.aarch64pgdg18.3 KiBpg_bigm_15-1.2_20240606-1PGDG.rhel8.aarch64.rpm
pg_bigm_151.2el8.aarch64pigsty19.8 KiBpg_bigm_15-1.2-2PIGSTY.el8.aarch64.rpm
pg_bigm_151.2el8.aarch64pgdg18.1 KiBpg_bigm_15-1.2-1PGDG.rhel8.aarch64.rpm
pg_bigm_151.2el9.x86_64pgdg20.9 KiBpg_bigm_15-1.2_20250903-1PGDG.rhel9.x86_64.rpm
pg_bigm_151.2el9.x86_64pgdg18.8 KiBpg_bigm_15-1.2_20240606-1PGDG.rhel9.x86_64.rpm
pg_bigm_151.2el9.x86_64pigsty19.6 KiBpg_bigm_15-1.2-2PIGSTY.el9.x86_64.rpm
pg_bigm_151.2el9.x86_64pgdg18.5 KiBpg_bigm_15-1.2-1PGDG.rhel9.x86_64.rpm
pg_bigm_151.2el9.aarch64pgdg20.5 KiBpg_bigm_15-1.2_20250903-1PGDG.rhel9.aarch64.rpm
pg_bigm_151.2el9.aarch64pgdg18.5 KiBpg_bigm_15-1.2_20240606-1PGDG.rhel9.aarch64.rpm
pg_bigm_151.2el9.aarch64pigsty19.6 KiBpg_bigm_15-1.2-2PIGSTY.el9.aarch64.rpm
pg_bigm_151.2el9.aarch64pgdg18.1 KiBpg_bigm_15-1.2-1PGDG.rhel9.aarch64.rpm
pg_bigm_151.2el10.x86_64pgdg21.7 KiBpg_bigm_15-1.2_20250903-1PGDG.rhel10.x86_64.rpm
pg_bigm_151.2el10.x86_64pgdg21.4 KiBpg_bigm_15-1.2_20240606-3PGDG.rhel10.x86_64.rpm
pg_bigm_151.2el10.x86_64pigsty20.0 KiBpg_bigm_15-1.2-2PIGSTY.el10.x86_64.rpm
pg_bigm_151.2el10.x86_64pigsty19.8 KiBpg_bigm_15-1.2-1PIGSTY.el10.x86_64.rpm
pg_bigm_151.2el10.aarch64pgdg21.4 KiBpg_bigm_15-1.2_20250903-1PGDG.rhel10.aarch64.rpm
pg_bigm_151.2el10.aarch64pgdg21.1 KiBpg_bigm_15-1.2_20240606-3PGDG.rhel10.aarch64.rpm
pg_bigm_151.2el10.aarch64pigsty20.1 KiBpg_bigm_15-1.2-2PIGSTY.el10.aarch64.rpm
pg_bigm_151.2el10.aarch64pigsty19.8 KiBpg_bigm_15-1.2-1PIGSTY.el10.aarch64.rpm
postgresql-15-pg-bigm1.2d12.x86_64pigsty27.2 KiBpostgresql-15-pg-bigm_1.2-20250903PIGSTY~bookworm_amd64.deb
postgresql-15-pg-bigm1.2d12.aarch64pigsty26.9 KiBpostgresql-15-pg-bigm_1.2-20250903PIGSTY~bookworm_arm64.deb
postgresql-15-pg-bigm1.2d13.x86_64pigsty27.5 KiBpostgresql-15-pg-bigm_1.2-20250903PIGSTY~trixie_amd64.deb
postgresql-15-pg-bigm1.2d13.aarch64pigsty27.2 KiBpostgresql-15-pg-bigm_1.2-20250903PIGSTY~trixie_arm64.deb
postgresql-15-pg-bigm1.2u22.x86_64pigsty32.1 KiBpostgresql-15-pg-bigm_1.2-20250903PIGSTY~jammy_amd64.deb
postgresql-15-pg-bigm1.2u22.aarch64pigsty31.8 KiBpostgresql-15-pg-bigm_1.2-20250903PIGSTY~jammy_arm64.deb
postgresql-15-pg-bigm1.2u24.x86_64pigsty28.4 KiBpostgresql-15-pg-bigm_1.2-20250903PIGSTY~noble_amd64.deb
postgresql-15-pg-bigm1.2u24.aarch64pigsty28.4 KiBpostgresql-15-pg-bigm_1.2-20250903PIGSTY~noble_arm64.deb
PackageVersionOSORGSIZEFile URL
pg_bigm_141.2el8.x86_64pgdg20.5 KiBpg_bigm_14-1.2_20250903-1PGDG.rhel8.x86_64.rpm
pg_bigm_141.2el8.x86_64pgdg18.6 KiBpg_bigm_14-1.2_20240606-1PGDG.rhel8.x86_64.rpm
pg_bigm_141.2el8.x86_64pigsty19.8 KiBpg_bigm_14-1.2-2PIGSTY.el8.x86_64.rpm
pg_bigm_141.2el8.x86_64pgdg18.4 KiBpg_bigm_14-1.2-1PGDG.rhel8.x86_64.rpm
pg_bigm_141.2el8.aarch64pgdg20.3 KiBpg_bigm_14-1.2_20250903-1PGDG.rhel8.aarch64.rpm
pg_bigm_141.2el8.aarch64pgdg18.3 KiBpg_bigm_14-1.2_20240606-1PGDG.rhel8.aarch64.rpm
pg_bigm_141.2el8.aarch64pigsty19.8 KiBpg_bigm_14-1.2-2PIGSTY.el8.aarch64.rpm
pg_bigm_141.2el8.aarch64pgdg18.1 KiBpg_bigm_14-1.2-1PGDG.rhel8.aarch64.rpm
pg_bigm_141.2el9.x86_64pgdg20.9 KiBpg_bigm_14-1.2_20250903-1PGDG.rhel9.x86_64.rpm
pg_bigm_141.2el9.x86_64pgdg18.8 KiBpg_bigm_14-1.2_20240606-1PGDG.rhel9.x86_64.rpm
pg_bigm_141.2el9.x86_64pigsty19.5 KiBpg_bigm_14-1.2-2PIGSTY.el9.x86_64.rpm
pg_bigm_141.2el9.x86_64pgdg18.5 KiBpg_bigm_14-1.2-1PGDG.rhel9.x86_64.rpm
pg_bigm_141.2el9.aarch64pgdg20.5 KiBpg_bigm_14-1.2_20250903-1PGDG.rhel9.aarch64.rpm
pg_bigm_141.2el9.aarch64pgdg18.5 KiBpg_bigm_14-1.2_20240606-1PGDG.rhel9.aarch64.rpm
pg_bigm_141.2el9.aarch64pigsty19.7 KiBpg_bigm_14-1.2-2PIGSTY.el9.aarch64.rpm
pg_bigm_141.2el9.aarch64pgdg18.1 KiBpg_bigm_14-1.2-1PGDG.rhel9.aarch64.rpm
pg_bigm_141.2el10.x86_64pgdg21.7 KiBpg_bigm_14-1.2_20250903-1PGDG.rhel10.x86_64.rpm
pg_bigm_141.2el10.x86_64pgdg21.4 KiBpg_bigm_14-1.2_20240606-3PGDG.rhel10.x86_64.rpm
pg_bigm_141.2el10.x86_64pigsty20.0 KiBpg_bigm_14-1.2-2PIGSTY.el10.x86_64.rpm
pg_bigm_141.2el10.x86_64pigsty19.8 KiBpg_bigm_14-1.2-1PIGSTY.el10.x86_64.rpm
pg_bigm_141.2el10.aarch64pgdg21.4 KiBpg_bigm_14-1.2_20250903-1PGDG.rhel10.aarch64.rpm
pg_bigm_141.2el10.aarch64pgdg21.1 KiBpg_bigm_14-1.2_20240606-3PGDG.rhel10.aarch64.rpm
pg_bigm_141.2el10.aarch64pigsty20.1 KiBpg_bigm_14-1.2-2PIGSTY.el10.aarch64.rpm
pg_bigm_141.2el10.aarch64pigsty19.8 KiBpg_bigm_14-1.2-1PIGSTY.el10.aarch64.rpm
postgresql-14-pg-bigm1.2d12.x86_64pigsty27.2 KiBpostgresql-14-pg-bigm_1.2-20250903PIGSTY~bookworm_amd64.deb
postgresql-14-pg-bigm1.2d12.aarch64pigsty26.8 KiBpostgresql-14-pg-bigm_1.2-20250903PIGSTY~bookworm_arm64.deb
postgresql-14-pg-bigm1.2d13.x86_64pigsty27.4 KiBpostgresql-14-pg-bigm_1.2-20250903PIGSTY~trixie_amd64.deb
postgresql-14-pg-bigm1.2d13.aarch64pigsty27.1 KiBpostgresql-14-pg-bigm_1.2-20250903PIGSTY~trixie_arm64.deb
postgresql-14-pg-bigm1.2u22.x86_64pigsty32.0 KiBpostgresql-14-pg-bigm_1.2-20250903PIGSTY~jammy_amd64.deb
postgresql-14-pg-bigm1.2u22.aarch64pigsty31.7 KiBpostgresql-14-pg-bigm_1.2-20250903PIGSTY~jammy_arm64.deb
postgresql-14-pg-bigm1.2u24.x86_64pigsty28.4 KiBpostgresql-14-pg-bigm_1.2-20250903PIGSTY~noble_amd64.deb
postgresql-14-pg-bigm1.2u24.aarch64pigsty28.3 KiBpostgresql-14-pg-bigm_1.2-20250903PIGSTY~noble_arm64.deb

Source

pig build pkg pg_bigm;		# build rpm/deb

Install

Make sure PGDG and PIGSTY repo available:

pig repo add pgsql -u   # add both repo and update cache

Install this extension with pig:

pig install pg_bigm;		# install via package name, for the active PG version

pig install pg_bigm -v 18;   # install for PG 18
pig install pg_bigm -v 17;   # install for PG 17
pig install pg_bigm -v 16;   # install for PG 16
pig install pg_bigm -v 15;   # install for PG 15
pig install pg_bigm -v 14;   # install for PG 14

Config this extension to shared_preload_libraries:

shared_preload_libraries = 'pg_bigm';

Create this extension with:

CREATE EXTENSION pg_bigm;

Usage

pg_bigm Documentation | GitHub: pgbigm/pg_bigm

The pg_bigm module provides full text search capability in PostgreSQL. This module allows a user to create 2-gram (bigram) index for faster full text search.

pg_bigm is released under the PostgreSQL License, a liberal Open Source license, similar to the BSD or MIT licenses.

Features

  • Bigram indexing: Creates 2-gram (bigram) GIN indexes for text columns
  • Faster LIKE searches: Accelerates LIKE queries including prefix, suffix, and substring searches
  • All language support: Works with any language including CJK (Chinese, Japanese, Korean) without additional configuration
  • Simple API: Provides similarity search functions and operators

Functions and Operators

Functions

FunctionReturn TypeDescription
likequery(text)textGenerates a search query for full text search from a keyword
show_bigm(text)text[]Shows all 2-grams in the given string
pg_gin_pending_stats(regclass)recordReturns the number of pages and tuples in the pending list of a GIN index

Operators

OperatorDescription
text =% textReturns true if the similarity between the left and right operands is greater than or equal to pg_bigm.similarity_limit

GUC Parameters

ParameterTypeDefaultDescription
pg_bigm.last_updatetext-Shows the last update date of the module (read-only)
pg_bigm.enable_recheckboolonControls whether recheck is performed during index scan
pg_bigm.gin_key_limitint0Limits the maximum number of bigrams used for full text search. 0 means no limit
pg_bigm.similarity_limitreal0.3Sets the minimum similarity threshold for the =% operator

Examples

Basic Full Text Search

-- Create extension
CREATE EXTENSION pg_bigm;

-- Create a table with text data
CREATE TABLE documents (id serial PRIMARY KEY, content text);
INSERT INTO documents (content) VALUES
  ('PostgreSQL is a powerful database'),
  ('Full text search with bigram indexing'),
  ('Japanese text: 日本語テキスト検索');

-- Create a bigram index
CREATE INDEX docs_bigm_idx ON documents USING gin (content gin_bigm_ops);

-- Search using LIKE
SELECT * FROM documents WHERE content LIKE '%search%';

-- Search using likequery function
SELECT * FROM documents WHERE content LIKE likequery('database');

Similarity Search

-- Show bigrams for a string
SELECT show_bigm('PostgreSQL');

-- Similarity search
SET pg_bigm.similarity_limit = 0.2;
SELECT * FROM documents WHERE content =% 'database search';

Comparison with pg_trgm

pg_bigm has the following advantages over the built-in pg_trgm:

Featurepg_bigmpg_trgm
N-gram type2-gram (bigram)3-gram (trigram)
Minimum search string1 character3 characters
Non-alphabetic languagesFull supportLimited support
LIKE search typesPrefix, suffix, and substringPrefix, suffix, and substring

For detailed documentation including advanced usage and performance tuning, see the official pg_bigm documentation.

Last updated on