connecting to timescaledb from terminal
CREATE database test_db;
#change into the test_db:
\c test_db
Output:
You are now connected to database "test_db" as user "postgres".
#create TimescaleDB extension:
CREATE EXTENSION IF NOT EXISTS timescaledb CASCADE;
5
1
sudo su -l postgres
psql
Thank you!
1
0
Are there any code examples left?
New code examples in category Other