duckdb/pg_duckdb

Support more types in prepared statement

Aperta

#892 aperta il 20 ago 2025

 (1 commento) (0 reazioni) (0 assegnatari)C++ (183 fork)github user discovery
good first issuetypes

Metriche repository

Star
 (3125 stelle)
Metriche merge PR
 (Merge medio 60g 10h) (7 PR mergiate in 30 g)

Descrizione

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?

  • Yes, I have

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

  • Yes, I have

Guida contributor