Repository navigation
Conversation
Deploying greptime-docs with
|
| Latest commit: |
ecdbe30
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://203fe2fc.greptime-docs.pages.dev |
| Branch Preview URL: | https://docs-postgres-copy-in.greptime-docs.pages.dev |
This was
linked to
issues
Nov 18, 2026
Open
sunng87
marked this pull request as draft
November 18, 2026 23:21
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What changed
Add a PostgreSQL
COPY FROM STDINguide and link it from the PostgreSQL overview and Protocols sidebar. The guide compares payloads, COPY targets, and table-creation requirements for CSV, JSONL, InfluxDB line protocol, Arrow IPC, OTLP, and Prometheus Remote Write. It explains why to use COPY on database-only connections, with a measured throughput comparison and a link to PostgreSQL's extensible COPY proposal. Each format lists its supportedWITHoptions, including the HTTP header or query parameter equivalents and OTLP signal restrictions. A runnable Psycopg 3 example shows how to send encoded records and finish the copy.Implementation references: GreptimeTeam/greptimedb#9297, GreptimeTeam/greptimedb#9982, GreptimeTeam/greptimedb#10050, GreptimeTeam/greptimedb#10092, GreptimeTeam/greptimedb#10449, GreptimeTeam/greptimedb#10470, GreptimeTeam/greptimedb#10450. Publish this draft after the JSONL implementation (GreptimeTeam/greptimedb#10109) lands. The JSONL guide describes the behavior verified against that PR and its integration tests at
d99cd1b324. No assumptions are made about its memory-accounting follow-up (GreptimeTeam/greptimedb#10493).Scope
Verification
DOC_LANG=en pnpm check:linksandDOC_LANG=zh pnpm check:linkspassed (strict builds for both locales). Checked the rendered sidebar and overview links.mainat9cf76e20ad. Confirmed all example code blocks match across locales.COPY 2and stored both expected room temperatures.git diff --cached --checkpassed.pnpm test: 59 passed.pnpm typecheckreports an unrelated JSXRedirecttype error in the unchangedsrc/theme/Root/index.tsx:21.Checklist