trailhead story:
pgrust: PostgreSQL in Rust
More on pgrust
Inspired to try installing the regular PostgreSQL
drawbacks: full ignorance of postgresql
what actually worked:
sudo port install postgresql18-server
sudo port load postgresql18-server
now check if postgresql is running
sudo -u postgres /opt/local/lib/postgresql18/bin/pg_ctl status -D /opt/local/var/db/postgresql18/defaultdb
note: the installation will create user postgres
Find the config file
psql -U postgres -c 'show config_file'
Going down the wrong path
sudo port install postgresql18
woes:
permissions
post-install confusion
_postgres vs postgres
Next; load some sample data
dvdrental
refs
https://reptile.haus/journal/pgrust-postgresql-rust-rewrite-ai-agents-development-strategy-2026/
https://betterstack.com/community/guides/databases/pgrust-postgres/