仅以docker
版的PostgreSQL 16
为例。
apt install lsb-release wget
|
echo "deb https://packagecloud.io/timescale/timescaledb/debian/ $(lsb_release -c -s) main" | sudo tee /etc/apt/sources.list.d/timescaledb.list
|
wget --quiet -O - https://packagecloud.io/timescale/timescaledb/gpgkey | sudo apt-key add -
|
apt install timescaledb-2-postgresql-16
|
CREATE EXTENSION IF NOT EXISTS timescaledb;
|
本文标题:给已存在 PostgreSQL 服务安装 TimescaleDB 插件
文章作者:牧云踏歌
发布时间:2024-02-01
最后更新:2024-02-01
原始链接:http://www.kankanzhijian.com/2024/02/01/install-timescaledb-as-extension/
版权声明:本博客文章均系本人原创,转载请注名出处