Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 3b4211e

Browse files
authored
Update is_inet.sql
1 parent 5cafd69 commit 3b4211e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

‎functions/is_inet.sql‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,7 @@ do $do$
8585
assert public.is_inet('1::');
8686
assert public.is_inet('::1');
8787
assert public.is_inet('1:2:3:4:5:6:7:8');
88+
assert public.is_inet('fe80::71d0:1c39:21c7:e566');
8889
assert public.is_inet('::255.255.255.255');
8990
assert public.is_inet('::ffff:0:255.255.255.255');
9091
assert public.is_inet('0000:0000:0000:0000:0000:ffff:255.255.255.255');
@@ -105,5 +106,6 @@ do $do$
105106
assert not public.is_inet('1:2:3:4:5:6:7:8:');
106107
assert not public.is_inet('1:2:3:4:5:6:7:8/-1');
107108
assert not public.is_inet('1:2:3:4:5:6:7:8/129');
109+
assert not public.is_inet('98:fa:9b:52:59:f3');
108110
end
109111
$do$;

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /