Move some functionality to pre-init hooks

Open
#235 2 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
25/100
Issue type
Refactor
Clarity
Needs clarification
Activity status
Stale
Tech stack
docker, postgresql
Domain
database, devops

Research direction

Start with the functionality near line 10 of latest/root/usr/bin/run-postgresql and compare it with the pre-init hooks under root-common/usr/share/container-scripts/mysql/pre-init in the mariadb-container project. Identify which early operations belong in new PostgreSQL pre-init hooks; done means the hooks provide that functionality and run-postgresql is lighter.

Written by the indexing model from the issue text.

Description

easyfix

It would be great if some functionality at the begining of run-postgresql were moved as new pre-init hooks to lighten run-postgresql script. Something which mariadb has https://github.com/sclorg/mariadb-container/tree/master/root-common/usr/share/container-scripts/mysql/pre-init .

Dominant language
PLpgSQL
Stars
178
Forks
220
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

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.

More from sclorg/postgresql-container

All issues in sclorg/postgresql-container

Similar issues

More Databases issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.