zalando / zalando/postgres-operator

Install ltree extension in postgres

Open
#1,966 0 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Go
Stars
5.2k
Forks
1.1k
Avg merge
2d 16h
Merged PRs (30d)
3

Description

Hi Colleagues,

I have tried to install ltree extention following link, after deploy still installed_version value is empty. Please guide me on how to install

select * from pg_available_extensions where name='ltree';
name | default_version | installed_version | comment
-------+-----------------+-------------------+-------------------------------------------------
ltree | 1.2 | | data type for hierarchical tree-like structures

I have added my configuration settings as below

users: {}

databases:
  aorsdb: aorsdbuser

preparedDatabases:
  aorsdb:
    extensions:
      ltree: "public"

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the preparedDatabases.extensions configuration shown in the issue and reproduce the deployment using the ltree entry. Check the PostgreSQL query for pg_available_extensions afterward; done means installed_version is populated for ltree in the target database.

Written by the indexing model from the issue text.

Assessment

Tech stack
kubernetes, postgresql
Domain
databases, devops
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.