PG
Rone-X
Time is Love
展开
-
windows10安装TimeScale
官网下载地址https://docs.timescale.com/latest/getting-started/installation/windows/installation-windows 在安装PostgresSQL的插件——TimeScale时候,报错could not get pg_config --pkglibdir:, 这是因为你在安装Postgres时没有将PostgresSQL所需的命令放到全局的环境变量Path中。 确保你已经安装了PostgresSQL !!! win10是这样的:原创 2020-09-22 09:26:09 · 758 阅读 · 1 评论 -
PG分区表
PG-分区 建分区表语句: PG版本为: PostgreSQL 11.8 声明式分区表(推荐): 创建表时并 指定分区字段 为logdate CREATE TABLE measurement ( city_id int not null, logdate date not null, peaktemp int, unitsales int ) PARTITION BY RANGE (logdate); 创建原创 2020-09-03 14:19:30 · 989 阅读 · 0 评论