Skip to content

feat(psql): add PostgreSQL install script and path configuration - #166

Merged
himura467 merged 1 commit into
mainfrom
psql-setup
Jul 13, 2026
Merged

himura467 merged 1 commit into
mainfrom
psql-setup

Conversation

@himura467

@himura467 himura467 commented Jul 13, 2026 •

Copy link
Copy Markdown
Owner

Summary

  • Add psql/install.sh: interactive Homebrew-based installer that prompts for the desired PostgreSQL version and stores it in .psql-version
  • Add psql/path.zsh: reads .psql-version and exports PATH, LDFLAGS, CPPFLAGS, and PKG_CONFIG_PATH for the installed version
  • Add psql/.psql-version: tracks the currently installed PostgreSQL version (18)

Test plan

  • Run psql/install.sh on a clean machine and confirm the chosen version is installed and .psql-version is written
  • Open a new shell and verify psql --version returns the expected version
  • Confirm LDFLAGS, CPPFLAGS, and PKG_CONFIG_PATH are set correctly

🤖 Generated with Claude Code

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@himura467
himura467 merged commit d7255a7 into main Jul 13, 2026
1 check passed
@himura467
himura467 deleted the psql-setup branch July 13, 2026 07:53
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.

1 participant