Skip to content

Improve psql wrapper script - #820

Open
jmaupetit wants to merge 2 commits into
mainfrom
improve-psql-dev
Open

Improve psql wrapper script#820
jmaupetit wants to merge 2 commits into
mainfrom
improve-psql-dev

Conversation

@jmaupetit

@jmaupetit jmaupetit commented Sep 4, 2026

Copy link
Copy Markdown
Contributor

Purpose

The bin/psql wrapper script can be used to run the psql command using a TTY or not depending on whether we need the REPL or to execute a SQL script. Also, getting environment variable from their definition file is not necessary as they are already defined in the running container.

Proposal

  • 🔨(project) improve psql script
  • 🔨(project) remove unused DB_HOST and DB_PORT env vars

Make psql script more versatile and avoid unnecessary environment
variables parsing.
@jmaupetit jmaupetit self-assigned this Sep 4, 2026
@jmaupetit jmaupetit added enhancement New feature or request Backend labels Sep 4, 2026
Comment thread bin/psql Outdated
@jmaupetit
jmaupetit requested a review from NathanVss September 4, 2026 16:01
They are not used in the Makefile and injected in the running container,
there is no need to declare them explicitly.
@sonarqubecloud

sonarqubecloud Bot commented Sep 4, 2026

Copy link
Copy Markdown

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

Labels

Backend enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant