3 ms·
devcontainers (e.g. in VSCode) make local development with Postgres almost as easy as SQLite.
by pphysch 3y ago
devcontainers (e.g. in VSCode) make local development with Postgres almost as easy as SQLite.
- CharlesW 3y agoAnd if you're on a Mac, Postgres.app makes it even easier: https://postgresapp.com/ https://postgresapp.com/ (PostgreSQL experts: Is there a magic way to sync schema changes and data from a local instance to a production server?)
- niels_bom 3y agoNot an expert, but as both schema changes and data changes are queries you can probably do Streaming Replication (1) 1: https://wiki.postgresql.org/wiki/Streaming_Replication https://wiki.postgresql.org/wiki/Streaming_Replication
- anonzzzies 3y agoTrue, but they do put a noticeable strain on my battery life of my laptop (m1), making it go from day long to hours, so I stopped doing that. That’s with only arm64 containers; with x64 ones, it’s even worse of course.