Skip to content

fix: stream large query results through pager - #109

Open
wuyua9 wants to merge 1 commit into
balajz:mainfrom
wuyua9:codex/stream-query-output
Open

fix: stream large query results through pager#109
wuyua9 wants to merge 1 commit into
balajz:mainfrom
wuyua9:codex/stream-query-output

Conversation

@wuyua9

@wuyua9 wuyua9 commented Aug 12, 2026

Copy link
Copy Markdown
Contributor

Summary

  • bound table formatting to 500 buffered rows before switching to tab-safe streaming
  • stream query output through direct output or pager without building one giant string
  • preserve existing small-result table formatting and add focused streaming tests

Context

Addresses #8, which reports that large query results can exhaust memory.

Validation

  • go test ./...
  • git diff --check

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