• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

supabase / storage / 30361736315

28 Jul 2026 01:03PM UTC coverage: 59.184% (-21.1%) from 80.307%
30361736315

Pull #1270

github

web-flow
Merge 1fc0f5547 into c57fbf24e
Pull Request #1270: fix(storage): document 200 responses for vector bucket CRUD endpoints

3675 of 7083 branches covered (51.88%)

Branch coverage included in aggregate %.

10 of 74 new or added lines in 3 files covered. (13.51%)

2446 existing lines in 105 files now uncovered.

7648 of 12049 relevant lines covered (63.47%)

363.6 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

73.33
/src/internal/database/sql.ts
1
const POSTGRES_IDENTIFIER_PATTERN = /^[A-Za-z_][A-Za-z0-9_]*$/
49✔
2

3
export function quoteIdentifier(identifier: string): string {
4
  if (!POSTGRES_IDENTIFIER_PATTERN.test(identifier)) {
20,300!
UNCOV
5
    throw new Error(`Invalid PostgreSQL identifier: ${identifier}`)
×
6
  }
7

8
  return `"${identifier}"`
20,300✔
9
}
10

11
export function quoteQualifiedIdentifier(tableName: string): string {
12
  const [schema, name, ...rest] = tableName.split('.')
21✔
13

14
  if (!schema || !name || rest.length > 0) {
21!
UNCOV
15
    throw new Error(`Invalid PostgreSQL table name: ${tableName}`)
×
16
  }
17

18
  return `${quoteIdentifier(schema)}.${quoteIdentifier(name)}`
21✔
19
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc