Skip to content

feat: implement Encoder for pgwire CopyEncoder#286

Draft
sunng87 wants to merge 2 commits intomasterfrom
feature/arrow-pg-copy-encoder
Draft

feat: implement Encoder for pgwire CopyEncoder#286
sunng87 wants to merge 2 commits intomasterfrom
feature/arrow-pg-copy-encoder

Conversation

@sunng87
Copy link
Member

@sunng87 sunng87 commented Feb 13, 2026

This patch implements Encoder for upcoming CopyEncoder of pgwire, for data encoding in COPY OUT.

It also adds a new interface to take_row from the encoder.

this is an example of using unified interface for both encoders in GreptimeDB: https://github.com/GreptimeTeam/greptimedb/pull/7709/changes#diff-1ae1a71dee12c94a37c1a50d6bfa54d539240569832b971a1916288b102a63f0R97

Will implement COPY TO STDOUT in datafusion-postgres too so an optimized adbc-postgres will work with this library.

@sunng87 sunng87 marked this pull request as draft February 13, 2026 12:15
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.

1 participant