Tags: fergusstrange/embedded-postgres
Tags
Custom Config Values (#117) * Fix #94: Support custom start parameters. Add a StartParameters config taking configuration settings. These run-time configuration parameters override those set in the default postgres.conf, and are passed to the postgres process via the options flag of pg_ctl. * Ensure we do run tests for non apple silicon. --------- Co-authored-by: Josh Giles <[email protected]>
Include the contents of logs when postgres fails to start or initdb f… …ails (#84) * fix: print log contents when postgres fails to start * fix: flush the logger before attempting to read * test: failure is included in error when postgres fails to start * fix: include log contents with initialization errors * fix: flush the logger before reading * refactor: read by file name * test: logs are output on initialization failure * fix: os -> ioutil for older versions of Go * fix: os -> ioutil for older versions of Go * lint: stop cuddling 😆 * fix: bail if we can't read the logs after 10s * refactor: move log reading into function * refactor: use timeout version for startPostgres too * test: logging method * test: error case * test: logging method content * fix: imports * feat: include log reading error in log output
PreviousNext