我按照以下两条连接的方式配置和postgresql和timescaledb然后出现了上图所示的报错
postgresql配置:How to Install and Setup PostgreSQL on Ubuntu 20.04 | Step-by-Step | Cherry Servers
timescale配置:
时序数据库 TimescaleDB 安装与使用_timescaledb安装-CSDN博客
解决的方法是
安装这个依赖库,它能够找到postgresql.h了
sudo apt install postgresql-server-dev-12 (具体看你使用的PG版本)