Skip to content

Commit 9666dd7

Browse files
committed
add pgsql-http test
1 parent aadd726 commit 9666dd7

File tree

2 files changed

+23
-0
lines changed

2 files changed

+23
-0
lines changed

nix/tests/expected/pgsql-http.out

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
select
2+
urlencode('my special string''s & things?');
3+
urlencode
4+
-------------------------------------
5+
my+special+string%27s+%26+things%3F
6+
(1 row)
7+
8+
select
9+
content
10+
from
11+
http_get (
12+
'https://postman-echo.com/get?foo1=bar1&foo2=bar2'
13+
);
14+
ERROR: OpenSSL/3.0.13: error:16000069:STORE routines::unregistered scheme

nix/tests/sql/pgsql-http.sql

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
select
2+
urlencode('my special string''s & things?');
3+
4+
select
5+
content
6+
from
7+
http_get (
8+
'https://postman-echo.com/get?foo1=bar1&foo2=bar2'
9+
);

0 commit comments

Comments
 (0)