📜  从终端连接到 timescaledb - 无论代码示例

📅  最后修改于: 2022-03-11 14:58:19.685000             🧑  作者: Mango

代码示例2
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;