{"id":13600098,"url":"https://github.com/postgrespro/tsvector2","last_synced_at":"2025-09-10T13:34:11.051Z","repository":{"id":53058883,"uuid":"153657862","full_name":"postgrespro/tsvector2","owner":"postgrespro","description":"Extended tsvector type for PostgreSQL","archived":false,"fork":false,"pushed_at":"2020-10-20T21:53:43.000Z","size":188,"stargazers_count":23,"open_issues_count":2,"forks_count":5,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-09-01T19:46:26.130Z","etag":null,"topics":["1mb","fulltext","postgresql","search","tsvector","tsvector2"],"latest_commit_sha":null,"homepage":"https://www.postgresql.org/","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/postgrespro.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-10-18T16:55:49.000Z","updated_at":"2025-03-05T12:08:36.000Z","dependencies_parsed_at":"2022-09-09T18:54:58.476Z","dependency_job_id":null,"html_url":"https://github.com/postgrespro/tsvector2","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/postgrespro/tsvector2","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/postgrespro%2Ftsvector2","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/postgrespro%2Ftsvector2/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/postgrespro%2Ftsvector2/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/postgrespro%2Ftsvector2/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/postgrespro","download_url":"https://codeload.github.com/postgrespro/tsvector2/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/postgrespro%2Ftsvector2/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274470506,"owners_count":25291605,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-09-10T02:00:12.551Z","response_time":83,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["1mb","fulltext","postgresql","search","tsvector","tsvector2"],"created_at":"2024-08-01T18:00:26.045Z","updated_at":"2025-09-10T13:34:11.009Z","avatar_url":"https://github.com/postgrespro.png","language":"C","funding_links":[],"categories":["C"],"sub_categories":[],"readme":"[![Build Status](https://travis-ci.org/postgrespro/tsvector2.svg?branch=master)](https://travis-ci.org/postgrespro/tsvector2)\n[![PGXN version](https://badge.fury.io/pg/tsvector2.svg)](https://badge.fury.io/pg/tsvector2)\n[![GitHub license](https://img.shields.io/badge/license-PostgreSQL-blue.svg)](https://raw.githubusercontent.com/postgrespro/tsvector2/master/LICENSE)\n\ntsvector2\n==========\n\nExtended `tsvector` type for PostgreSQL 9.6+. It was implemented to provide better\ncompression and to remove 1MB size limitation of original tsvector type.\n\nIt could be used as transparent replacement of original tsvector and supports\nall its functions, operators and index types. Functions that contain `tsvector` in their\nnames have been changed to `tsvector2`. Full list of these functions specified\nbelow.\n\nRefer to PostgreSQL [documentation](https://www.postgresql.org/docs/current/datatype-textsearch.html)\nto get details about `tsvector`. They can be also applied to `tsvector2`.\n\n`tsvector2` specific functions\n------------------------------\n\n* `to_tsvector2` (from `text`, `json`, `jsonb` types)\n* `array_to_tsvector2`\n* `tsvector2_to_array`\n* `tsvector2_stat` (should be used instead of `ts_stat`)\n* `jsonb_to_tsvector2`\n* `json_to_tsvector2`\n* `tsvector2_update_trigger`\n* `tsvector2_update_trigger_column`\n\nNotice that `jsonb_to_tsvector2` and `json_to_tsvector2` work different on\nPostgreSQL 10 and 11. Same applies to `tsvector` functions.\n\nCommon functions that could be safely used on both types\n--------------------------------------------------------\n\n* `strip`\n* `unnest`\n* `length`\n* `setweight`\n* `ts_rank`\n* `ts_rank_cd`\n* `ts_delete`\n* `ts_filter`\n\nInstallation\n-------------\n\n\tmake install PG_CONFIG=\u003cpath_to_pg_config\u003e\n\t# if you need rum support, install it first:\n\t# psql \u003cdatabase\u003e -c \"create extension rum\"\n\tpsql \u003cdatabase\u003e -c \"create extension tsvector2\"\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpostgrespro%2Ftsvector2","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpostgrespro%2Ftsvector2","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpostgrespro%2Ftsvector2/lists"}