与timescaledb备份有关的问题:“错误:函数timescaledb_pre_restore()不存在”

问题描述 投票:0回答:2

场景:

  • PostgreSQL 11.4
  • TimescaleDB 1.2.2

[当尝试转储和还原数据库时,并遵循this documentation,我收到以下错误消息:

function timescaledb_pre_restore() does not exist

这似乎很明显,但我不明白。 ¿有帮助吗?

谢谢。

postgresql pg-dump pg-restore timescaledb
2个回答
0
投票

此功能在1.2.2中不存在。在此处查看此版本的备份/还原文档:https://docs.timescale.com/v1.2/using-timescaledb/backup


0
投票

您使用的是TimescaleDB的较旧版本,其说明在1.2中有所不同。但是我们的文档已经过版本控制(请参阅左侧导航栏顶部的版本切换器)。因此,请浏览至1.2版,其中的说明略有不同:

https://docs.timescale.com/v1.2/using-timescaledb/backup

© www.soinside.com 2019 - 2024. All rights reserved.