fergusstrange / embedded-postgres

Run a real Postgres database locally on Linux, OSX or Windows as part of another Go application or test
MIT License
854 stars 89 forks source link

Bugfix preload timescaledb libraries #64

Closed guoguojin closed 2 years ago

guoguojin commented 2 years ago

In order to use the timescaledb extension in postgres, the libraries need to be preloaded when Postgres starts. This change edits the postgresql.conf file after the database is initialised to ensure the shared timescaledb libraries are preloaded when postgres starts.