跳转到主要内容

pg_curl

Run curl actions for data transfer in URL syntax

pg_curl : Run curl actions for data transfer in URL syntax

Overview

ID Extension Package Version Category License Language
4090 pg_curl pg_curl 2.5.0 UTIL MIT C
Attribute Has Binary Has Library Need Load Has DDL Relocatable Trusted
--s-d-r No Yes No Yes yes no
Relationships
See Also http pg_net omni_httpc pg_graphql documentdb
SQL 2.5; no upstream 2.4.1 upgrade edge.

Packages

Type Repo Version PG Major Compatibility Package Pattern Dependencies
EXT PIGSTY 2.5.0 19 18 17 16 15 pg_curl -
RPM PIGSTY 2.5.0 19 18 17 16 15 pg_curl_$v -
DEB PIGSTY 2.5.0 19 18 17 16 15 postgresql-$v-pg-curl -
Linux / PG PG19 PG18 PG17 PG16 PG15
el8.x86_64 N/A PIGSTY 2.5.0 PIGSTY 2.5.0 PIGSTY 2.5.0 PIGSTY 2.5.0
el8.aarch64 N/A PIGSTY 2.5.0 PIGSTY 2.5.0 PIGSTY 2.5.0 PIGSTY 2.5.0
el9.x86_64 PIGSTY 2.5.0 PIGSTY 2.5.0 PIGSTY 2.5.0 PIGSTY 2.5.0 PIGSTY 2.5.0
el9.aarch64 PIGSTY 2.5.0 PIGSTY 2.5.0 PIGSTY 2.5.0 PIGSTY 2.5.0 PIGSTY 2.5.0
el10.x86_64 PIGSTY 2.5.0 PIGSTY 2.5.0 PIGSTY 2.5.0 PIGSTY 2.5.0 PIGSTY 2.5.0
el10.aarch64 PIGSTY 2.5.0 PIGSTY 2.5.0 PIGSTY 2.5.0 PIGSTY 2.5.0 PIGSTY 2.5.0
d12.x86_64 PIGSTY 2.5.0 PIGSTY 2.5.0 PIGSTY 2.5.0 PIGSTY 2.5.0 PIGSTY 2.5.0
d12.aarch64 PIGSTY 2.5.0 PIGSTY 2.5.0 PIGSTY 2.5.0 PIGSTY 2.5.0 PIGSTY 2.5.0
d13.x86_64 PIGSTY 2.5.0 PIGSTY 2.5.0 PIGSTY 2.5.0 PIGSTY 2.5.0 PIGSTY 2.5.0
d13.aarch64 PIGSTY 2.5.0 PIGSTY 2.5.0 PIGSTY 2.5.0 PIGSTY 2.5.0 PIGSTY 2.5.0
u22.x86_64 PIGSTY 2.5.0 PIGSTY 2.5.0 PIGSTY 2.5.0 PIGSTY 2.5.0 PIGSTY 2.5.0
u22.aarch64 PIGSTY 2.5.0 PIGSTY 2.5.0 PIGSTY 2.5.0 PIGSTY 2.5.0 PIGSTY 2.5.0
u24.x86_64 PIGSTY 2.5.0 PIGSTY 2.5.0 PIGSTY 2.5.0 PIGSTY 2.5.0 PIGSTY 2.5.0
u24.aarch64 PIGSTY 2.5.0 PIGSTY 2.5.0 PIGSTY 2.5.0 PIGSTY 2.5.0 PIGSTY 2.5.0
u26.x86_64 PIGSTY 2.5.0 PIGSTY 2.5.0 PIGSTY 2.5.0 PIGSTY 2.5.0 PIGSTY 2.5.0
u26.aarch64 PIGSTY 2.5.0 PIGSTY 2.5.0 PIGSTY 2.5.0 PIGSTY 2.5.0 PIGSTY 2.5.0
Package Version OS ORG SIZE File URL
pg_curl_19 2.5.0 el9.x86_64 pigsty 139.6 KiB pg_curl_19-2.5.0-2PGSTY.el9.x86_64.rpm
pg_curl_19 2.4.5 el9.x86_64 pgdg 47.1 KiB pg_curl_19-2.4.5-4PGDG.rhel9.9.x86_64.rpm
pg_curl_19 2.5.0 el9.aarch64 pigsty 137.8 KiB pg_curl_19-2.5.0-2PGSTY.el9.aarch64.rpm
pg_curl_19 2.4.5 el9.aarch64 pgdg 45.1 KiB pg_curl_19-2.4.5-4PGDG.rhel9.9.aarch64.rpm
pg_curl_19 2.5.0 el10.x86_64 pigsty 142.0 KiB pg_curl_19-2.5.0-2PGSTY.el10.x86_64.rpm
pg_curl_19 2.4.5 el10.x86_64 pgdg 47.8 KiB pg_curl_19-2.4.5-4PGDG.rhel10.3.x86_64.rpm
pg_curl_19 2.5.0 el10.aarch64 pigsty 140.4 KiB pg_curl_19-2.5.0-2PGSTY.el10.aarch64.rpm
pg_curl_19 2.4.5 el10.aarch64 pgdg 46.3 KiB pg_curl_19-2.4.5-4PGDG.rhel10.3.aarch64.rpm
postgresql-19-pg-curl 2.5.0 d12.x86_64 pigsty 122.1 KiB postgresql-19-pg-curl_2.5.0-1PGSTY~bookworm_amd64.deb
postgresql-19-pg-curl 2.5.0 d12.aarch64 pigsty 120.0 KiB postgresql-19-pg-curl_2.5.0-1PGSTY~bookworm_arm64.deb
postgresql-19-pg-curl 2.5.0 d13.x86_64 pigsty 123.1 KiB postgresql-19-pg-curl_2.5.0-1PGSTY~trixie_amd64.deb
postgresql-19-pg-curl 2.5.0 d13.aarch64 pigsty 121.0 KiB postgresql-19-pg-curl_2.5.0-1PGSTY~trixie_arm64.deb
postgresql-19-pg-curl 2.5.0 u22.x86_64 pigsty 138.0 KiB postgresql-19-pg-curl_2.5.0-1PGSTY~jammy_amd64.deb
postgresql-19-pg-curl 2.5.0 u22.aarch64 pigsty 135.7 KiB postgresql-19-pg-curl_2.5.0-1PGSTY~jammy_arm64.deb
postgresql-19-pg-curl 2.5.0 u24.x86_64 pigsty 131.2 KiB postgresql-19-pg-curl_2.5.0-1PGSTY~noble_amd64.deb
postgresql-19-pg-curl 2.5.0 u24.aarch64 pigsty 130.7 KiB postgresql-19-pg-curl_2.5.0-1PGSTY~noble_arm64.deb
postgresql-19-pg-curl 2.5.0 u26.x86_64 pigsty 133.5 KiB postgresql-19-pg-curl_2.5.0-1PGSTY~resolute_amd64.deb
postgresql-19-pg-curl 2.5.0 u26.aarch64 pigsty 132.5 KiB postgresql-19-pg-curl_2.5.0-1PGSTY~resolute_arm64.deb
Package Version OS ORG SIZE File URL
pg_curl_18 2.5.0 el8.x86_64 pigsty 136.3 KiB pg_curl_18-2.5.0-2PGSTY.el8.x86_64.rpm
pg_curl_18 2.4.5 el8.x86_64 pgdg 45.1 KiB pg_curl_18-2.4.5-4PGDG.rhel8.10.x86_64.rpm
pg_curl_18 2.4.5 el8.x86_64 pgdg 44.7 KiB pg_curl_18-2.4.5-1PGDG.rhel8.10.x86_64.rpm
pg_curl_18 2.4.4 el8.x86_64 pgdg 43.8 KiB pg_curl_18-2.4.4-1PGDG.rhel8.x86_64.rpm
pg_curl_18 2.5.0 el8.aarch64 pigsty 133.8 KiB pg_curl_18-2.5.0-2PGSTY.el8.aarch64.rpm
pg_curl_18 2.4.5 el8.aarch64 pgdg 43.5 KiB pg_curl_18-2.4.5-4PGDG.rhel8.10.aarch64.rpm
pg_curl_18 2.4.5 el8.aarch64 pgdg 43.1 KiB pg_curl_18-2.4.5-1PGDG.rhel8.10.aarch64.rpm
pg_curl_18 2.4.4 el8.aarch64 pgdg 42.1 KiB pg_curl_18-2.4.4-1PGDG.rhel8.aarch64.rpm
pg_curl_18 2.5.0 el9.x86_64 pigsty 139.4 KiB pg_curl_18-2.5.0-2PGSTY.el9.x86_64.rpm
pg_curl_18 2.4.5 el9.x86_64 pgdg 47.1 KiB pg_curl_18-2.4.5-4PGDG.rhel9.9.x86_64.rpm
pg_curl_18 2.5.0 el9.aarch64 pigsty 137.5 KiB pg_curl_18-2.5.0-2PGSTY.el9.aarch64.rpm
pg_curl_18 2.4.5 el9.aarch64 pgdg 45.5 KiB pg_curl_18-2.4.5-4PGDG.rhel9.9.aarch64.rpm
pg_curl_18 2.5.0 el10.x86_64 pigsty 142.0 KiB pg_curl_18-2.5.0-2PGSTY.el10.x86_64.rpm
pg_curl_18 2.4.5 el10.x86_64 pgdg 47.7 KiB pg_curl_18-2.4.5-4PGDG.rhel10.3.x86_64.rpm
pg_curl_18 2.5.0 el10.aarch64 pigsty 140.5 KiB pg_curl_18-2.5.0-2PGSTY.el10.aarch64.rpm
pg_curl_18 2.4.5 el10.aarch64 pgdg 46.7 KiB pg_curl_18-2.4.5-4PGDG.rhel10.3.aarch64.rpm
pg_curl_18 2.4.5 el10.aarch64 pgdg 46.4 KiB pg_curl_18-2.4.5-4PGDG.rhel10.2.aarch64.rpm
pg_curl_18 2.4.5 el10.aarch64 pgdg 45.6 KiB pg_curl_18-2.4.5-1PGDG.rhel10.2.aarch64.rpm
pg_curl_18 2.4.4 el10.aarch64 pgdg 45.3 KiB pg_curl_18-2.4.4-3PGDG.rhel10.2.aarch64.rpm
pg_curl_18 2.4.4 el10.aarch64 pgdg 45.5 KiB pg_curl_18-2.4.4-1PGDG.rhel10.aarch64.rpm
postgresql-18-pg-curl 2.5.0 d12.x86_64 pigsty 122.6 KiB postgresql-18-pg-curl_2.5.0-1PGSTY~bookworm_amd64.deb
postgresql-18-pg-curl 2.5.0 d12.aarch64 pigsty 120.0 KiB postgresql-18-pg-curl_2.5.0-1PGSTY~bookworm_arm64.deb
postgresql-18-pg-curl 2.5.0 d13.x86_64 pigsty 123.8 KiB postgresql-18-pg-curl_2.5.0-1PGSTY~trixie_amd64.deb
postgresql-18-pg-curl 2.5.0 d13.aarch64 pigsty 120.9 KiB postgresql-18-pg-curl_2.5.0-1PGSTY~trixie_arm64.deb
postgresql-18-pg-curl 2.5.0 u22.x86_64 pigsty 138.0 KiB postgresql-18-pg-curl_2.5.0-1PGSTY~jammy_amd64.deb
postgresql-18-pg-curl 2.5.0 u22.aarch64 pigsty 135.6 KiB postgresql-18-pg-curl_2.5.0-1PGSTY~jammy_arm64.deb
postgresql-18-pg-curl 2.5.0 u24.x86_64 pigsty 131.4 KiB postgresql-18-pg-curl_2.5.0-1PGSTY~noble_amd64.deb
postgresql-18-pg-curl 2.5.0 u24.aarch64 pigsty 130.7 KiB postgresql-18-pg-curl_2.5.0-1PGSTY~noble_arm64.deb
postgresql-18-pg-curl 2.5.0 u26.x86_64 pigsty 133.5 KiB postgresql-18-pg-curl_2.5.0-1PGSTY~resolute_amd64.deb
postgresql-18-pg-curl 2.5.0 u26.aarch64 pigsty 132.5 KiB postgresql-18-pg-curl_2.5.0-1PGSTY~resolute_arm64.deb
Package Version OS ORG SIZE File URL
pg_curl_17 2.5.0 el8.x86_64 pigsty 136.2 KiB pg_curl_17-2.5.0-2PGSTY.el8.x86_64.rpm
pg_curl_17 2.4.5 el8.x86_64 pgdg 45.1 KiB pg_curl_17-2.4.5-4PGDG.rhel8.10.x86_64.rpm
pg_curl_17 2.4.5 el8.x86_64 pgdg 44.7 KiB pg_curl_17-2.4.5-1PGDG.rhel8.10.x86_64.rpm
pg_curl_17 2.4.4 el8.x86_64 pgdg 43.8 KiB pg_curl_17-2.4.4-1PGDG.rhel8.x86_64.rpm
pg_curl_17 2.4.3 el8.x86_64 pgdg 43.7 KiB pg_curl_17-2.4.3-1PGDG.rhel8.x86_64.rpm
pg_curl_17 2.5.0 el8.aarch64 pigsty 133.7 KiB pg_curl_17-2.5.0-2PGSTY.el8.aarch64.rpm
pg_curl_17 2.4.5 el8.aarch64 pgdg 43.5 KiB pg_curl_17-2.4.5-4PGDG.rhel8.10.aarch64.rpm
pg_curl_17 2.4.5 el8.aarch64 pgdg 43.1 KiB pg_curl_17-2.4.5-1PGDG.rhel8.10.aarch64.rpm
pg_curl_17 2.4.4 el8.aarch64 pgdg 42.1 KiB pg_curl_17-2.4.4-1PGDG.rhel8.aarch64.rpm
pg_curl_17 2.4.3 el8.aarch64 pgdg 41.9 KiB pg_curl_17-2.4.3-1PGDG.rhel8.aarch64.rpm
pg_curl_17 2.5.0 el9.x86_64 pigsty 139.5 KiB pg_curl_17-2.5.0-2PGSTY.el9.x86_64.rpm
pg_curl_17 2.4.5 el9.x86_64 pgdg 47.2 KiB pg_curl_17-2.4.5-4PGDG.rhel9.9.x86_64.rpm
pg_curl_17 2.5.0 el9.aarch64 pigsty 137.7 KiB pg_curl_17-2.5.0-2PGSTY.el9.aarch64.rpm
pg_curl_17 2.4.5 el9.aarch64 pgdg 45.2 KiB pg_curl_17-2.4.5-4PGDG.rhel9.9.aarch64.rpm
pg_curl_17 2.5.0 el10.x86_64 pigsty 142.0 KiB pg_curl_17-2.5.0-2PGSTY.el10.x86_64.rpm
pg_curl_17 2.4.5 el10.x86_64 pgdg 47.8 KiB pg_curl_17-2.4.5-4PGDG.rhel10.3.x86_64.rpm
pg_curl_17 2.5.0 el10.aarch64 pigsty 140.5 KiB pg_curl_17-2.5.0-2PGSTY.el10.aarch64.rpm
pg_curl_17 2.4.5 el10.aarch64 pgdg 46.7 KiB pg_curl_17-2.4.5-4PGDG.rhel10.3.aarch64.rpm
pg_curl_17 2.4.5 el10.aarch64 pgdg 46.7 KiB pg_curl_17-2.4.5-4PGDG.rhel10.2.aarch64.rpm
pg_curl_17 2.4.5 el10.aarch64 pgdg 46.0 KiB pg_curl_17-2.4.5-1PGDG.rhel10.2.aarch64.rpm
pg_curl_17 2.4.4 el10.aarch64 pgdg 45.4 KiB pg_curl_17-2.4.4-3PGDG.rhel10.2.aarch64.rpm
pg_curl_17 2.4.4 el10.aarch64 pgdg 45.2 KiB pg_curl_17-2.4.4-1PGDG.rhel10.aarch64.rpm
pg_curl_17 2.4.3 el10.aarch64 pgdg 45.0 KiB pg_curl_17-2.4.3-2PGDG.rhel10.aarch64.rpm
postgresql-17-pg-curl 2.5.0 d12.x86_64 pigsty 122.7 KiB postgresql-17-pg-curl_2.5.0-1PGSTY~bookworm_amd64.deb
postgresql-17-pg-curl 2.5.0 d12.aarch64 pigsty 120.1 KiB postgresql-17-pg-curl_2.5.0-1PGSTY~bookworm_arm64.deb
postgresql-17-pg-curl 2.5.0 d13.x86_64 pigsty 123.4 KiB postgresql-17-pg-curl_2.5.0-1PGSTY~trixie_amd64.deb
postgresql-17-pg-curl 2.5.0 d13.aarch64 pigsty 120.9 KiB postgresql-17-pg-curl_2.5.0-1PGSTY~trixie_arm64.deb
postgresql-17-pg-curl 2.5.0 u22.x86_64 pigsty 141.7 KiB postgresql-17-pg-curl_2.5.0-1PGSTY~jammy_amd64.deb
postgresql-17-pg-curl 2.5.0 u22.aarch64 pigsty 139.1 KiB postgresql-17-pg-curl_2.5.0-1PGSTY~jammy_arm64.deb
postgresql-17-pg-curl 2.5.0 u24.x86_64 pigsty 131.4 KiB postgresql-17-pg-curl_2.5.0-1PGSTY~noble_amd64.deb
postgresql-17-pg-curl 2.5.0 u24.aarch64 pigsty 130.5 KiB postgresql-17-pg-curl_2.5.0-1PGSTY~noble_arm64.deb
postgresql-17-pg-curl 2.5.0 u26.x86_64 pigsty 133.5 KiB postgresql-17-pg-curl_2.5.0-1PGSTY~resolute_amd64.deb
postgresql-17-pg-curl 2.5.0 u26.aarch64 pigsty 132.5 KiB postgresql-17-pg-curl_2.5.0-1PGSTY~resolute_arm64.deb
Package Version OS ORG SIZE File URL
pg_curl_16 2.5.0 el8.x86_64 pigsty 136.2 KiB pg_curl_16-2.5.0-2PGSTY.el8.x86_64.rpm
pg_curl_16 2.4.5 el8.x86_64 pgdg 45.1 KiB pg_curl_16-2.4.5-4PGDG.rhel8.10.x86_64.rpm
pg_curl_16 2.4.5 el8.x86_64 pgdg 44.7 KiB pg_curl_16-2.4.5-1PGDG.rhel8.10.x86_64.rpm
pg_curl_16 2.4.4 el8.x86_64 pgdg 43.8 KiB pg_curl_16-2.4.4-1PGDG.rhel8.x86_64.rpm
pg_curl_16 2.4.3 el8.x86_64 pgdg 43.8 KiB pg_curl_16-2.4.3-1PGDG.rhel8.x86_64.rpm
pg_curl_16 2.5.0 el8.aarch64 pigsty 133.7 KiB pg_curl_16-2.5.0-2PGSTY.el8.aarch64.rpm
pg_curl_16 2.4.5 el8.aarch64 pgdg 43.5 KiB pg_curl_16-2.4.5-4PGDG.rhel8.10.aarch64.rpm
pg_curl_16 2.4.5 el8.aarch64 pgdg 43.1 KiB pg_curl_16-2.4.5-1PGDG.rhel8.10.aarch64.rpm
pg_curl_16 2.4.4 el8.aarch64 pgdg 42.1 KiB pg_curl_16-2.4.4-1PGDG.rhel8.aarch64.rpm
pg_curl_16 2.4.3 el8.aarch64 pgdg 41.9 KiB pg_curl_16-2.4.3-1PGDG.rhel8.aarch64.rpm
pg_curl_16 2.5.0 el9.x86_64 pigsty 139.4 KiB pg_curl_16-2.5.0-2PGSTY.el9.x86_64.rpm
pg_curl_16 2.4.5 el9.x86_64 pgdg 47.2 KiB pg_curl_16-2.4.5-4PGDG.rhel9.9.x86_64.rpm
pg_curl_16 2.5.0 el9.aarch64 pigsty 137.7 KiB pg_curl_16-2.5.0-2PGSTY.el9.aarch64.rpm
pg_curl_16 2.4.5 el9.aarch64 pgdg 45.5 KiB pg_curl_16-2.4.5-4PGDG.rhel9.9.aarch64.rpm
pg_curl_16 2.5.0 el10.x86_64 pigsty 142.0 KiB pg_curl_16-2.5.0-2PGSTY.el10.x86_64.rpm
pg_curl_16 2.4.5 el10.x86_64 pgdg 47.8 KiB pg_curl_16-2.4.5-4PGDG.rhel10.3.x86_64.rpm
pg_curl_16 2.5.0 el10.aarch64 pigsty 140.5 KiB pg_curl_16-2.5.0-2PGSTY.el10.aarch64.rpm
pg_curl_16 2.4.5 el10.aarch64 pgdg 46.7 KiB pg_curl_16-2.4.5-4PGDG.rhel10.3.aarch64.rpm
pg_curl_16 2.4.5 el10.aarch64 pgdg 46.7 KiB pg_curl_16-2.4.5-4PGDG.rhel10.2.aarch64.rpm
pg_curl_16 2.4.5 el10.aarch64 pgdg 46.0 KiB pg_curl_16-2.4.5-1PGDG.rhel10.2.aarch64.rpm
pg_curl_16 2.4.4 el10.aarch64 pgdg 45.5 KiB pg_curl_16-2.4.4-3PGDG.rhel10.2.aarch64.rpm
pg_curl_16 2.4.4 el10.aarch64 pgdg 45.2 KiB pg_curl_16-2.4.4-1PGDG.rhel10.aarch64.rpm
pg_curl_16 2.4.3 el10.aarch64 pgdg 45.0 KiB pg_curl_16-2.4.3-2PGDG.rhel10.aarch64.rpm
postgresql-16-pg-curl 2.5.0 d12.x86_64 pigsty 122.8 KiB postgresql-16-pg-curl_2.5.0-1PGSTY~bookworm_amd64.deb
postgresql-16-pg-curl 2.5.0 d12.aarch64 pigsty 120.1 KiB postgresql-16-pg-curl_2.5.0-1PGSTY~bookworm_arm64.deb
postgresql-16-pg-curl 2.5.0 d13.x86_64 pigsty 123.4 KiB postgresql-16-pg-curl_2.5.0-1PGSTY~trixie_amd64.deb
postgresql-16-pg-curl 2.5.0 d13.aarch64 pigsty 120.8 KiB postgresql-16-pg-curl_2.5.0-1PGSTY~trixie_arm64.deb
postgresql-16-pg-curl 2.5.0 u22.x86_64 pigsty 141.8 KiB postgresql-16-pg-curl_2.5.0-1PGSTY~jammy_amd64.deb
postgresql-16-pg-curl 2.5.0 u22.aarch64 pigsty 139.1 KiB postgresql-16-pg-curl_2.5.0-1PGSTY~jammy_arm64.deb
postgresql-16-pg-curl 2.5.0 u24.x86_64 pigsty 131.4 KiB postgresql-16-pg-curl_2.5.0-1PGSTY~noble_amd64.deb
postgresql-16-pg-curl 2.5.0 u24.aarch64 pigsty 130.5 KiB postgresql-16-pg-curl_2.5.0-1PGSTY~noble_arm64.deb
postgresql-16-pg-curl 2.5.0 u26.x86_64 pigsty 133.5 KiB postgresql-16-pg-curl_2.5.0-1PGSTY~resolute_amd64.deb
postgresql-16-pg-curl 2.5.0 u26.aarch64 pigsty 132.4 KiB postgresql-16-pg-curl_2.5.0-1PGSTY~resolute_arm64.deb
Package Version OS ORG SIZE File URL
pg_curl_15 2.5.0 el8.x86_64 pigsty 136.0 KiB pg_curl_15-2.5.0-2PGSTY.el8.x86_64.rpm
pg_curl_15 2.4.5 el8.x86_64 pgdg 45.1 KiB pg_curl_15-2.4.5-4PGDG.rhel8.10.x86_64.rpm
pg_curl_15 2.4.5 el8.x86_64 pgdg 44.7 KiB pg_curl_15-2.4.5-1PGDG.rhel8.10.x86_64.rpm
pg_curl_15 2.4.4 el8.x86_64 pgdg 43.8 KiB pg_curl_15-2.4.4-1PGDG.rhel8.x86_64.rpm
pg_curl_15 2.4.3 el8.x86_64 pgdg 43.7 KiB pg_curl_15-2.4.3-1PGDG.rhel8.x86_64.rpm
pg_curl_15 2.5.0 el8.aarch64 pigsty 133.9 KiB pg_curl_15-2.5.0-2PGSTY.el8.aarch64.rpm
pg_curl_15 2.4.5 el8.aarch64 pgdg 43.5 KiB pg_curl_15-2.4.5-4PGDG.rhel8.10.aarch64.rpm
pg_curl_15 2.4.5 el8.aarch64 pgdg 43.1 KiB pg_curl_15-2.4.5-1PGDG.rhel8.10.aarch64.rpm
pg_curl_15 2.4.4 el8.aarch64 pgdg 42.1 KiB pg_curl_15-2.4.4-1PGDG.rhel8.aarch64.rpm
pg_curl_15 2.4.3 el8.aarch64 pgdg 41.9 KiB pg_curl_15-2.4.3-1PGDG.rhel8.aarch64.rpm
pg_curl_15 2.5.0 el9.x86_64 pigsty 139.8 KiB pg_curl_15-2.5.0-2PGSTY.el9.x86_64.rpm
pg_curl_15 2.4.5 el9.x86_64 pgdg 47.2 KiB pg_curl_15-2.4.5-4PGDG.rhel9.9.x86_64.rpm
pg_curl_15 2.5.0 el9.aarch64 pigsty 138.2 KiB pg_curl_15-2.5.0-2PGSTY.el9.aarch64.rpm
pg_curl_15 2.4.5 el9.aarch64 pgdg 45.4 KiB pg_curl_15-2.4.5-4PGDG.rhel9.9.aarch64.rpm
pg_curl_15 2.5.0 el10.x86_64 pigsty 142.2 KiB pg_curl_15-2.5.0-2PGSTY.el10.x86_64.rpm
pg_curl_15 2.4.5 el10.x86_64 pgdg 47.8 KiB pg_curl_15-2.4.5-4PGDG.rhel10.3.x86_64.rpm
pg_curl_15 2.5.0 el10.aarch64 pigsty 141.0 KiB pg_curl_15-2.5.0-2PGSTY.el10.aarch64.rpm
pg_curl_15 2.4.5 el10.aarch64 pgdg 46.7 KiB pg_curl_15-2.4.5-4PGDG.rhel10.3.aarch64.rpm
pg_curl_15 2.4.5 el10.aarch64 pgdg 46.7 KiB pg_curl_15-2.4.5-4PGDG.rhel10.2.aarch64.rpm
pg_curl_15 2.4.5 el10.aarch64 pgdg 45.9 KiB pg_curl_15-2.4.5-1PGDG.rhel10.2.aarch64.rpm
pg_curl_15 2.4.4 el10.aarch64 pgdg 45.4 KiB pg_curl_15-2.4.4-3PGDG.rhel10.2.aarch64.rpm
pg_curl_15 2.4.4 el10.aarch64 pgdg 45.5 KiB pg_curl_15-2.4.4-1PGDG.rhel10.aarch64.rpm
pg_curl_15 2.4.3 el10.aarch64 pgdg 45.4 KiB pg_curl_15-2.4.3-2PGDG.rhel10.aarch64.rpm
postgresql-15-pg-curl 2.5.0 d12.x86_64 pigsty 122.4 KiB postgresql-15-pg-curl_2.5.0-1PGSTY~bookworm_amd64.deb
postgresql-15-pg-curl 2.5.0 d12.aarch64 pigsty 119.6 KiB postgresql-15-pg-curl_2.5.0-1PGSTY~bookworm_arm64.deb
postgresql-15-pg-curl 2.5.0 d13.x86_64 pigsty 123.2 KiB postgresql-15-pg-curl_2.5.0-1PGSTY~trixie_amd64.deb
postgresql-15-pg-curl 2.5.0 d13.aarch64 pigsty 120.8 KiB postgresql-15-pg-curl_2.5.0-1PGSTY~trixie_arm64.deb
postgresql-15-pg-curl 2.5.0 u22.x86_64 pigsty 141.9 KiB postgresql-15-pg-curl_2.5.0-1PGSTY~jammy_amd64.deb
postgresql-15-pg-curl 2.5.0 u22.aarch64 pigsty 139.5 KiB postgresql-15-pg-curl_2.5.0-1PGSTY~jammy_arm64.deb
postgresql-15-pg-curl 2.5.0 u24.x86_64 pigsty 131.8 KiB postgresql-15-pg-curl_2.5.0-1PGSTY~noble_amd64.deb
postgresql-15-pg-curl 2.5.0 u24.aarch64 pigsty 131.0 KiB postgresql-15-pg-curl_2.5.0-1PGSTY~noble_arm64.deb
postgresql-15-pg-curl 2.5.0 u26.x86_64 pigsty 134.2 KiB postgresql-15-pg-curl_2.5.0-1PGSTY~resolute_amd64.deb
postgresql-15-pg-curl 2.5.0 u26.aarch64 pigsty 132.7 KiB postgresql-15-pg-curl_2.5.0-1PGSTY~resolute_arm64.deb

Source

pig build pkg pg_curl;		# build rpm/deb

Install

Make sure PGDG and PIGSTY repo available:

pig repo add pgsql -u   # add both repo and update cache

Install this extension with pig:

pig install pg_curl;		# install via package name, for the active PG version

pig install pg_curl -v 19;   # install for PG 19
pig install pg_curl -v 18;   # install for PG 18
pig install pg_curl -v 17;   # install for PG 17
pig install pg_curl -v 16;   # install for PG 16
pig install pg_curl -v 15;   # install for PG 15

Create this extension with:

CREATE EXTENSION pg_curl;

Usage

Sources:

pg_curl exposes libcurl transfers as SQL functions. Upstream release 2.5.0 uses SQL extension version 2.5. Requests run in the database backend with the server’s network and filesystem access; installing the extension requires an administrator. Ordinary calls need no preload.

A Request in One Transaction

CREATE EXTENSION pg_curl;
BEGIN;
SELECT curl_easy_reset();
SELECT curl_easy_setopt_url('https://www.postgresql.org/');
SELECT curl_easy_perform();
SELECT convert_from(curl_easy_getinfo_data_in(), 'UTF8');
COMMIT;

curl_easy_reset clears the handle, curl_easy_setopt_url chooses the destination, and curl_easy_perform performs the transfer. curl_easy_getinfo_data_in returns response bytes and curl_easy_getinfo_header_in returns headers. pg_curl.transaction defaults to true: handles are released at transaction end, so keep a multi-statement request in one transaction. Network/file side effects are not rolled back with SQL.

Access and Whitelists

A superuser grants allowed prefixes to an existing application role:

ALTER ROLE app_user SET pg_curl.whitelist = 'https://api.example.com/';

Reconnect to apply a role default. With an unset pg_curl.whitelist, superusers are unrestricted and other roles are denied. A configured whitelist also restricts superusers. Only matching HTTP, HTTPS and file URLs are allowed while it applies; FTP, SMTP and other protocols are denied. HTTP paths match at segment boundaries, not arbitrary string prefixes.

Local-file options are checked too. File paths are resolved and must already exist, including an output cookie-jar file. Redirect targets are checked; restricted redirect following requires libcurl 7.80.0 or later. Explicit proxy and DNS-over-HTTPS options are denied while restricted, although the server’s proxy environment can still apply. Limit allowed hosts and paths deliberately; stored credentials and server-local files remain sensitive.

Other Operations and Upgrade

curl_postfield_append, curl_easy_setopt_postfields and curl_header_append construct form or JSON requests. curl_mime_data and curl_mime_file construct MIME parts; 2.5 adds a head text[] overload for multiple headers. Header array elements cannot be NULL or contain carriage returns/newlines. The MIME data overload accepts text or binary data.

Check pg_extension.extversion before upgrading. This distribution includes the 2.4-to-2.5 update script; it does not supply a 2.4.1-to-2.5 edge, so do not assume an existing installation reporting 2.4.1 can use an automatic update. For an installation actually at SQL 2.4, after installing matching files:

ALTER EXTENSION pg_curl UPDATE TO '2.5';

Use the new whitelist rules before granting execution to application roles. Review libcurl’s supported protocols and use the matching library on all database hosts.

表格阅读器