Skip to content

docs(database): add section on pg extensions setup#71

Open
evebrnd wants to merge 2 commits into
mainfrom
docs/add-pg-extension-setup-section
Open

docs(database): add section on pg extensions setup#71
evebrnd wants to merge 2 commits into
mainfrom
docs/add-pg-extension-setup-section

Conversation

@evebrnd

@evebrnd evebrnd commented Jun 15, 2026

Copy link
Copy Markdown
Collaborator

PR Description

What this PR Provides

  • A previous PR added PostgresSQL pg_trgm extension to improve the performance of case-insensitive ILIKE searches of entities
  • This PR adds a section on how to install PostgresSQL extensions

Review

The reviewer must double-check these points:

  • The documentation has been updated

How to test

N/A

Breaking changes

N/A

@evebrnd evebrnd changed the title docs(db): add section on pg extensions setup docs(database): add section on pg extensions setup Jun 15, 2026
@github-code-quality

github-code-quality Bot commented Jun 15, 2026

Copy link
Copy Markdown

Code Coverage Overview

Languages: Java

Java / code-coverage/jacoco

The overall coverage in the branch is 89%. Coverage data for the branch is not yet available.

Show a code coverage summary of the most covered files.
File ee28ea6 +/-
com/decathlon/i...rDslParser.java 99%
com/decathlon/i...ionService.java 99%
com/decathlon/i...ityService.java 96%
com/decathlon/i...MapperImpl.java 90%
com/decathlon/i...MapperImpl.java 88%
com/decathlon/i...ionHandler.java 87%
com/decathlon/i...ionService.java 87%
com/decathlon/i...oOutMapper.java 86%
com/decathlon/i...cification.java 81%
com/decathlon/i...ionService.java 77%

Updated June 19, 2026 13:03 UTC
Code Coverage is in Public Preview. Learn more and provide us with your feedback.

@evebrnd evebrnd marked this pull request as ready for review June 15, 2026 17:46

- Provision extensions directly via your Infrastructure as Code (for example Terraform resources) or checking them off in your cloud provider's database management dashboard
- Apply the provided initialization script (`/scripts/init-extensions.sql`) using `psql` from your deployment host
- Add a Flyway migration to your repository. Place a migration such as `V1__install_extensions.sql` in `db/migration` containing the `CREATE EXTENSION` statements. Flyway will execute the SQL file as part of the migration sequence.

@etiennej70 etiennej70 Jun 16, 2026

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You can't have it like you did locally ? With "IF NOT EXISTS" it should not break anything in a flyway migration (and avoid this script outside the flyway pipeline) ?
Because it is hard to modify a migration when you install an opensource package / docker image ;)

@sonarqubecloud

Copy link
Copy Markdown

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants