opentable/otj-pg-embedded

wrap init.db to .bat file

anmir opened this issue · 2 comments

anmir commented

Problem:
EmbeddedPostgres.start() redirects messages from initdb.exe. These messages has wrong encoding. That's only about initdb.exe messages. setLocaleConfig works fine. But initdb.exe logs looks like '?????????????? ?????' It's quite annoying :(

Suggested solution:
put .bat file with bundled postgres with template or arguments

Maybe you can suggest nice workaround to set encoding before initdb.exe execution.

Thank you!

Not having time to pursue this long standing issue, your assistance would help.
What specifically would have to be provided? There's a customization of the command line already. So how would initDB need to be called.

initDB is fully customizable (as is the docker file) in 1.0,0