【问题标题】:Installing temporal_tables and cyanaudit extensions in PostgreSQL for Windows在 PostgreSQL for Windows 中安装 temporal_tables 和 cyanaudit 扩展
【发布时间】:2020-05-09 14:15:45
【问题描述】:

我有一个审计和渐变维度 (SCD) 用例,需要安装 PostgreSQL temporal_tables 和 cyanaudit 扩展。

但是我的 PostgreSQL 服务器是在 Windows 上的,经过高低搜索,我仍然没有找到在 PostgreSQL for Windows 中安装这些扩展的方法。

有没有人成功地在 Windows 环境中安装了这些扩展,您能分享一下您的方法吗?

谢谢一百万,

杰丹尼尔

【问题讨论】:

    标签: postgresql audit-logging temporal-tables bi-temporal


    【解决方案1】:

    我没有尝试在 Windows 上安装这些扩展,但我建议您查看相关的源代码存储库。

    temporal_tables 存储在 GitHub 上:如果您搜索有关 Windows 安装的打开和关闭问题,我发现:https://github.com/arkhipov/temporal_tables/issues/19。

    cyanaudit 存储在 bitbucket 上,我没有找到任何与 Windows 相关的内容。 但是安装应该更容易,因为它主要是 SQL 和 PL/PGSQL 代码:您需要能够使用 tar 和 perl,因为安装程序使用的是 Perl。

    【讨论】:

    • GitHub 链接指的是不再存在的 BigSQL PostgreSQL 包。我相信它已被另一家更大的公司收购或吸收,因此我无法使用该选项。
    • 我认为你能做到的最好是在 GitHub 上打开一个新问题,询问如何在 Windows 上安装这个扩展(提供你的 PostgreSQL 版本和你的 Windows 版本)。
    • 完成。感谢您的建议。
    • 我今天才发现这篇文章。这可能是我的问题highgo.ca/2020/05/15/build-postgresql-and-extension-on-windows/…的解决方案
    猜你喜欢
    • 2014-05-08
    • 2018-09-14
    • 2016-11-01
    • 2020-06-09
    • 2010-11-16
    • 2015-11-12
    • 2014-11-23
    • 2021-06-20
    • 2010-09-20
    相关资源
    最近更新 更多