Skip to content

README references missing pg_textsearch installer script #22

Description

@Sanderhoff-alt

Hi pg0 maintainers,

The README currently documents installing pg_textsearch with:

curl -fsSL https://raw.githubusercontent.com/vectorize-io/pg0/main/extensions/install-pgtextsearch.sh | bash

and:

curl -fsSL https://raw.githubusercontent.com/vectorize-io/pg0/main/extensions/install-pgtextsearch.sh | bash -s -- --version v0.5.1 --instance myapp

However, that URL currently returns 404:

https://raw.githubusercontent.com/vectorize-io/pg0/main/extensions/install-pgtextsearch.sh
HTTP/2 404

I also could not find an extensions/ directory or an install-pgtextsearch.sh script in the repository tree. From a local clone, searching the visible history and tags did not show the script either:

git log --all --full-history --name-status -- extensions/install-pgtextsearch.sh
git log --all --name-only --pretty=format: | sort -u | rg -i 'pg[_-]?text|textsearch|extension|install'

The README section appears to have been introduced in commit 93a19d18 (docs: add changelog to README), but that commit only modified README.md and did not add the installer script.

Expected behavior

Either:

  1. Commit/provide the documented extensions/install-pgtextsearch.sh script, or
  2. Update the README to remove or correct the pg_textsearch installation instructions, or
  3. Clarify that pg_textsearch support is planned but not currently implemented.

Preferred support model

If pg_textsearch support is intended to be official, bundling or using pg0-tested prebuilt artifacts would likely fit the project better than a best-effort script that builds or downloads from upstream at install time.

The current pg0 build already works this way for core bundled components:

  • PostgreSQL is downloaded as a prebuilt bundle during build.rs.
  • pgvector is downloaded from a prebuilt pgvector_compiled release during build.rs.
  • Those bytes are embedded into the pg0 binary and extracted into the pg0 installation at runtime.

So for optional full-text extensions such as pg_textsearch, a robust support model could be:

  1. Prefer bundled, pg0-tested extension artifacts where feasible.
  2. If default bundling is too large, provide an on-demand installer that downloads pinned artifacts known to match pg0's bundled PostgreSQL version and platform.
  3. Avoid pulling arbitrary upstream latest artifacts, since PostgreSQL extensions are sensitive to Postgres major version, platform, ABI, install paths, and runtime dependencies.

That would make the documented support more consistent with pg0's zero-config/predictable-binary model.

Why this matters

The README currently gives the impression that pg0 supports installing pg_textsearch through an official one-command installer, but the documented command fails. This makes it unclear whether pg_textsearch is actually supported today or only planned.

Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions