I'm using the postgres operator with the Spilo build spilo-11:1.5-p7
.
How do I configure it to preload the timescaledb library?
I've tried using sed to alter the config file like so:
sed -i "s/bg_mon,/bg_mon,timescaledb,/" /scripts/configure_spilo.py
But this does not work, because it is being run at the build time of the Dockerfile, which seems to be too early. Is there any way to get this to run after the expansion of the compressed contents, but before postgres is run? Some kind of script callback?