Skip to content

docs: clarify SQL storage lengths and binary types#15

Merged
kpiljoong merged 3 commits into
mainfrom
docs-sql-storage-guidance
May 19, 2026
Merged

docs: clarify SQL storage lengths and binary types#15
kpiljoong merged 3 commits into
mainfrom
docs-sql-storage-guidance

Conversation

@kpiljoong
Copy link
Copy Markdown
Collaborator

Summary

Clarify SQL storage guidance so the documented text column can hold checksum-bearing OrderlyIDs and the binary column type is accurate across common databases.

This change:

  • documents VARCHAR(69) for checksum-capable text storage
  • notes that VARCHAR(64) is only sufficient when checksum suffixes are never stored
  • distinguishes MySQL/Aurora BINARY(20) from PostgreSQL BYTEA for the 20-byte binary body
  • replaces the duplicated checksum section in the normative spec with checksum-specific guidance

Tests:

  • go test ./...

Refs #11

@kpiljoong kpiljoong merged commit 8271844 into main May 19, 2026
1 check passed
@kpiljoong kpiljoong deleted the docs-sql-storage-guidance branch May 19, 2026 16:54
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