We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fbea6fe commit a077e80Copy full SHA for a077e80
2 files changed
META.json
@@ -2,7 +2,7 @@
2
"name": "http",
3
"abstract": "HTTP client for PostgreSQL",
4
"description": "HTTP allows you to get the content of a web page in a SQL function call.",
5
- "version": "1.7.0",
+ "version": "1.7.1",
6
"maintainer": [
7
"Paul Ramsey <pramsey@cleverelephant.ca>"
8
],
@@ -23,7 +23,7 @@
23
"http": {
24
"file": "http--1.7.sql",
25
"docfile": "README.md",
26
27
"abstract": "HTTP client for PostgreSQL"
28
}
29
},
http.c
@@ -89,7 +89,14 @@
89
#include <curl/curl.h>
90
91
/* Set up PgSQL */
92
+#ifdef PG_MODULE_MAGIC_EXT
93
+PG_MODULE_MAGIC_EXT(
94
+ .name = "http",
95
+ .version = HTTP_VERSION
96
+);
97
+#else
98
PG_MODULE_MAGIC;
99
+#endif
100
101
/* HTTP request methods we support */
102
typedef enum {
0 commit comments