leinelissen / embedded-postgres

🐘 A Node package that allows you to spawn a Postgresql cluster programatically.
MIT License
55 stars 11 forks source link

fix: explicitly specify LC_MESSAGES locale initialise completes on non-english systems #16

Open leinelissen opened 1 week ago

leinelissen commented 1 week ago

We have to specify the LC_MESSAGES locale because we rely on inspecting the output of the initdb command to see if Postgres is ready. As we're looking for a particular string, we need to force that string into the right locale.

Fixes #15