Skip to content

[Feature request]: pg_trgm postgres extension should be added if not present #65

@jessereynolds

Description

@jessereynolds

Use Case

It would be nice to have the container init check if pg_trgm extension is present in postres and if not enable it.

For example, when using the crafy oss compose example with the docker.io/postgres:18-alpine container, starting the openvoxdb container fails with:

2026-02-02 14:32:18,202 ERROR [p.p.s.migrate] PuppetDB requires the PostgreSQL `pg_trgm` extension.
Please connect to the PuppetDB database and run this:
    CREATE EXTENSION pg_trgm;

Describe the solution you would like

I'm not sure where this should be implemented:

  • additional initialisation script added to this container
  • steps added to crafty's examples
  • deritative postgresql image that includes the extension

Or just be added to documentation in this project.

Describe alternatives you've considered

No response

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions