【问题标题】:postgresql function to call webservicepostgresql函数调用webservice
【发布时间】:2016-11-10 15:52:37
【问题描述】:

我想从 Postgresql 函数调用 web 服务。 我已经看到了这个链接,它显示了如何使用 pgpsql 代码发出 http 请求 http://boundlessgeo.com/2012/04/http-for-postgresql/

也在 Github 上展示 https://github.com/pramsey/pgsql-http

但是我怎样才能将此扩展添加到我的 PostgresSQL 要么 是否有其他方法可以从 postgres 调用 http 服务?

我使用的是 PostgreSQL 9.5 Windows 版本。

【问题讨论】:

标签: postgresql stored-procedures httpclient postgresql-extensions


【解决方案1】:

很遗憾,该扩展还没有 Windows 版本。不过一切都没有丢失,你可以自己编译:

http://blog.2ndquadrant.com/compiling-postgresql-extensions-visual-studio-windows/

从您最初发布的 github 链接下载源代码并应用链接中的说明。

【讨论】:

    猜你喜欢
    • 2016-10-14
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2010-12-29
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多