duckdb/pg_duckdb

Support more types in prepared statement

Aberta

#892 aberto em 20 de ago. de 2025

 (1 comentário) (0 reação) (0 responsável)C++ (183 forks)github user discovery
good first issuetypes

Métricas do repositório

Stars
 (3.125 estrelas)
Métricas de merge de PR
 (Mesclagem média 60d 10h) (7 fundiu PRs em 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?

  • Yes, I have

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

  • Yes, I have

Guia do colaborador