duckdb / duckdb/pg_duckdb

Support more types in prepared statement

Open
#892 1 comment 0 reactions 0 assignees View on GitHub
good first issue types
Dominant language
C++
Stars
3.2k
Forks
204
PR merge metrics
No merged PRs in 30d

Description

### What happens?

While working on https://github.com/duckdb/pg_duckdb/pull/863, I noticed that several other data types, besides UUID, are currently unsupported in prepared statements

Specifically, those types exist in `ConvertPostgresToDuckValue`, but not in `ConvertPostgresParameterToDuckValue`: https://github.com/duckdb/pg_duckdb/blob/main/src/pgduckdb_types.cpp

### To Reproduce

n/a

### OS:

Linux

### pg_duckdb Version (if built from source use commit hash):

55874e3

### Postgres Version (if built from source use commit hash):

17.6

### Hardware:

_No response_

### Full Name:

Cheng Chen

### Affiliation:

Mooncake Labs

### What is the latest build you tested with? If possible, we recommend testing with the latest nightly build.

I have not tested with any build

### Did you include all relevant data sets for reproducing the issue?

Not applicable - the reproduction does not require a data set

### Did you include all code required to reproduce the issue?

- [x] Yes, I have

### Did you include all relevant configuration (e.g., CPU architecture, Linux distribution) to reproduce the issue?

- [x] Yes, I have

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.