更新tsdb扩展安装的指北
This commit is contained in:
16
README.md
16
README.md
@@ -5,7 +5,7 @@
|
||||
- [class `EDataCapture`](#class-edatacapture)
|
||||
- [0. HTTP POST: `set_node_data`](#0-http-post-set_node_data)
|
||||
- [使用指北](#使用指北)
|
||||
- [环境依赖](#环境依赖)
|
||||
- [TimescaleDB扩展](#timescaledb扩展)
|
||||
- [后端](#后端)
|
||||
- [前端](#前端)
|
||||
- [开发环境](#开发环境)
|
||||
@@ -101,7 +101,19 @@
|
||||
|
||||
下文简要介绍如何将代码合并入MES中。
|
||||
|
||||
### 环境依赖
|
||||
### TimescaleDB扩展
|
||||
|
||||
先`psql`使用client登入数据库,然后在pg的prompt下运行:
|
||||
|
||||
```sql
|
||||
CREATE EXTENSION IF NOT EXISTS timescaledb;
|
||||
```
|
||||
|
||||
如果过程中无报错,输入`\dx`检查一下扩展列表:
|
||||
|
||||

|
||||
|
||||
需要保证`timescaledb`后显示的版本号在**2.2.0或以上**。
|
||||
|
||||
### 后端
|
||||
|
||||
|
||||
BIN
imgs/dx.png
Normal file
BIN
imgs/dx.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 10 KiB |
Reference in New Issue
Block a user