diff --git a/nix/tests/expected/pgsql-http.out b/nix/tests/expected/pgsql-http.out new file mode 100644 index 000000000..36f600a1a --- /dev/null +++ b/nix/tests/expected/pgsql-http.out @@ -0,0 +1,14 @@ +select + urlencode('my special string''s & things?'); + urlencode +------------------------------------- + my+special+string%27s+%26+things%3F +(1 row) + +select + content +from + http_get ( + 'https://postman-echo.com/get?foo1=bar1&foo2=bar2' + ); +ERROR: OpenSSL/3.0.13: error:16000069:STORE routines::unregistered scheme diff --git a/nix/tests/sql/pgsql-http.sql b/nix/tests/sql/pgsql-http.sql new file mode 100644 index 000000000..5c50bc80e --- /dev/null +++ b/nix/tests/sql/pgsql-http.sql @@ -0,0 +1,9 @@ +select + urlencode('my special string''s & things?'); + +select + content +from + http_get ( + 'https://postman-echo.com/get?foo1=bar1&foo2=bar2' + );