Skip to content

pandrewhk/pgcurl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pgcurl

Call curl from PostgreSQL.

Requirements

  • PostgreSQL
  • libcurl

Installation

sh% make install
psql# create extension pgcurl;
psql# select curl('http://httpbin.org/get')::jsonb->'url';

Limitations

  • Only text at the moment (gzip/deflate uncompressed by libcurl)
  • Quite slow: fetches one url at a time
  • Errors are returned in-band
  • No options

Releases

No releases published

Packages

No packages published