pg_tle
pg_tle copied to clipboard
Errored when inserting array value of custom datatype in binary mode .
Description
We created the custom type. And created the custom_type[] column. While inserting the array values in those columns in binary mode, the server errored with 'no binary input function available for type custom_type'.
If the array values are in the text mode, it works as expected.
Steps to reproduce
- Create customType.
- Create customtype[] column in a table.
- insert into table values ('\0xcustomdatatypeValues,...); -> make sure this data is transferred via binary mode.
Expected outcome
The values to be inserted.
Actual outcome
Error from the server with ErrMessage: 'no binary input function available for type custom_type'.
Analysis
None.
If applicable, please provide logs that demonstrate the issue. Please remove any sensitive information from the logs.