aws / aws/pg_tle

Errored when inserting array value of custom datatype in binary mode .

Open
#271 3 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
C
Stars
410
Forks
41
Avg merge
18h 17m
Merged PRs (30d)
2

Description

## 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

1. Create customType.
2. Create customtype[] column in a table.
3. 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.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.