I added a new extension (timescaledb) like this:
CREATE EXTENSION IF NOT EXISTS timescaledb CASCADE;
Then execute below command to see list of extensions:
select * from pg_extension;
And then remove a row in pg_extension which was related to timescaledb
.
After that an abnormal bug happened and cann't even reconnect to my database in dbeaver
, even trying via command line, then was only able to connect to db but again can not run any commands because it says:
ERROR: extension not found while getting version
I don't know what problem exactly happened and how to handle it.
Update:
To be sure, every one can reproduce this error, I created a new database, then with super-user privilege, repeated above commands to create extension and remove it like before. There again, the same issue raised.
This is my spec:
OS: centos7
postgres config comes from pgtune
postgres version:11
timescale version: 1.2 follow this link for installation