duckdb / duckdb/pg_duckdb

Support additional types as arguments for prepared statements

Open
#227 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
C++
Stars
3.2k
Forks
204
PR merge metrics
No merged PRs in 30d

Description

In #147 we introduced support for prepared statements, but we don't support arguments of all the types that we support in other places.

We should make `ConvertPostgresParameterToDuckValue` support all the types that `ConvertDuckToPostgresValue` currently supports. Types that are currently missing are:

- [ ] numeric
- [ ] uuid
- [ ] array types

Contributor guide

Open the contributing guide

Research direction

Read issue #147 and compare ConvertPostgresParameterToDuckValue with ConvertDuckToPostgresValue. Trace the prepared-statement argument handling, then cover numeric, uuid, and array types so the former supports every type currently handled by the latter.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp, postgresql
Domain
databases
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
50/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.