-
Notifications
You must be signed in to change notification settings - Fork 118
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
12 changed files
with
95 additions
and
47 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
"name": "http", | ||
"abstract": "HTTP client for PostgreSQL", | ||
"description": "HTTP allows you to get the content of a web page in a SQL function call.", | ||
"version": "1.4.0", | ||
"version": "1.5.0", | ||
"maintainer": [ | ||
"Paul Ramsey <[email protected]>" | ||
], | ||
|
@@ -21,9 +21,9 @@ | |
}, | ||
"provides": { | ||
"http": { | ||
"file": "http--1.4.sql", | ||
"file": "http--1.5.sql", | ||
"docfile": "README.md", | ||
"version": "1.4.0", | ||
"version": "1.5.0", | ||
"abstract": "HTTP client for PostgreSQL" | ||
} | ||
}, | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
|
||
CREATE OR REPLACE FUNCTION http_delete(uri VARCHAR, content VARCHAR, content_type VARCHAR) | ||
RETURNS http_response | ||
AS $$ SELECT @[email protected](('DELETE', $1, NULL, $3, $2)::@[email protected]_request) $$ | ||
LANGUAGE 'sql'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -86,6 +86,11 @@ CREATE OR REPLACE FUNCTION http_delete(uri VARCHAR) | |
AS $$ SELECT @[email protected](('DELETE', $1, NULL, NULL, NULL)::@[email protected]_request) $$ | ||
LANGUAGE 'sql'; | ||
|
||
CREATE OR REPLACE FUNCTION http_delete(uri VARCHAR, content VARCHAR, content_type VARCHAR) | ||
RETURNS http_response | ||
AS $$ SELECT @[email protected](('DELETE', $1, NULL, $3, $2)::@[email protected]_request) $$ | ||
LANGUAGE 'sql'; | ||
|
||
CREATE OR REPLACE FUNCTION http_head(uri VARCHAR) | ||
RETURNS http_response | ||
AS $$ SELECT @[email protected](('HEAD', $1, NULL, NULL, NULL)::@[email protected]_request) $$ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
default_version = '1.4' | ||
default_version = '1.5' | ||
module_pathname = '$libdir/http' | ||
comment = 'HTTP client for PostgreSQL, allows web page retrieval inside the database.' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters