Skip to content

fix(c/driver/postgresql): bind null parameters#4098

Open
Mandukhai-Alimaa wants to merge 4 commits intoapache:mainfrom
Mandukhai-Alimaa:fix/postgresql-null-binding
Open

fix(c/driver/postgresql): bind null parameters#4098
Mandukhai-Alimaa wants to merge 4 commits intoapache:mainfrom
Mandukhai-Alimaa:fix/postgresql-null-binding

Conversation

@Mandukhai-Alimaa
Copy link
Contributor

  • Infer PostgreSQL parameter types via PREPARE (no OIDs) + DESCRIBE, then reconcile with Arrow bind schema.
  • Bind Arrow NA (all-null) parameters as PostgreSQL’s expected parameter type.
  • Don’t force a type when PostgreSQL can’t infer/returns unknown. Fall back without error.
  • Add writer support for Arrow NA and add tests for null parameter binding.

Closes #3549

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Cannot use null values as bound parameters in postgresql

1 participant