Alvaro Herrera <alvherre@commandprompt.com> writes:
> ERROR: invalid input syntax for type inet:
> "fe80::104d:416e:a8dc:c02e%12"
>
> SQL state: 22P02
> Interesting.
> When we HAVE_IPV6, there's code to remove stuff after a % in an address.
We do now ... it wasn't there in 8.2.0.
http://archives.postgresql.org/pgsql-committers/2007-05/msg00268.php
regards, tom lane