# Empty INET param.
send
Parse {"Query": "SELECT $1::INET"}
Bind {"ParameterFormatCodes": [1], "Parameters": [{"text":""}]}
Sync
----

until
ErrorResponse
ReadyForQuery
----
{"Type":"ParseComplete"}
{"Type":"ErrorResponse","Code":"08P01"}
{"Type":"ReadyForQuery","TxStatus":"I"}

# IPv4family
send
Bind {"ParameterFormatCodes": [1], "Parameters": [{"binary":"020000000000"}]}
Sync
----

until
ErrorResponse
ReadyForQuery
----
{"Type":"ErrorResponse","Code":"22P03"}
{"Type":"ReadyForQuery","TxStatus":"I"}

# IPv6family
send
Bind {"ParameterFormatCodes": [1], "Parameters": [{"binary":"030000000000"}]}
Sync
----

until
ErrorResponse
ReadyForQuery
----
{"Type":"ErrorResponse","Code":"22P03"}
{"Type":"ReadyForQuery","TxStatus":"I"}

# Unknown family
send
Bind {"ParameterFormatCodes": [1], "Parameters": [{"binary":"060000000000"}]}
Sync
----

until
ErrorResponse
ReadyForQuery
----
{"Type":"ErrorResponse","Code":"22P03"}
{"Type":"ReadyForQuery","TxStatus":"I"}
