I am using timescale/timescaledb:latest-pg11 docker image to run timescale in my local.
While testing, I tried running it multiple times. Once while trying to creat a hyper_table, I got the below error,
function create_hypertable(unknown, unknown, migrate_data => boolean) does not exist
As troubleshooting, I got this answer, which suggested checking the pg extensions. So on the run when I got error, I didn't have timescaledb in the result of select * from pg_extension;. Whereas, in successful cases, I had the timescaledb extension.
I am unable to reproduce the error case again. But any idea why the issue happened randomly?
PS: I used the same docker run command to run the container everytime.