Commit Graph
2 Commits
Author SHA1 Message Date
Chris LuandClaude Opus 5.5 e0fef0bae8 filer/postgres: postgres_flat escapes the table name inside its quotes
A double quote in it is doubled, as PostgreSQL reads a quoted identifier.
Bucket names cannot hold one, but the statements no longer rely on that.
Reported by CodeQL (go/unsafe-quoting).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_011UpvafvK8JpagF94MHWqwK
2026-12-01 20:20:34 -08:00
Chris LuandClaude Opus 5.5 cba6549067 filer/postgres: SQL generator keyed by the full path
Rows have path as their primary key; a (directory, name) unique
constraint serves the directory listings.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_011UpvafvK8JpagF94MHWqwK
2026-12-01 16:38:39 -08:00