duckdb/pg_duckdb

Support more types in prepared statement

Open

#892 geöffnet am 20. Aug. 2025

Auf GitHub ansehen
 (1 Kommentar) (0 Reaktionen) (0 zugewiesene Personen)C++ (183 Forks)github user discovery
good first issuetypes

Repository-Metriken

Stars
 (3.125 Stars)
PR-Merge-Metriken
 (PR-Metriken ausstehend)

Beschreibung

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

Contributor Guide