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

supabase / storage / 29529597431

16 Jul 2026 07:50PM UTC coverage: 59.141% (-20.3%) from 79.48%
29529597431

Pull #1240

github

web-flow
Merge 97ccd31d7 into 0fa294bf8
Pull Request #1240: fix: increase jwt timeout for signed url cdn acceptance test

3582 of 6915 branches covered (51.8%)

Branch coverage included in aggregate %.

7533 of 11879 relevant lines covered (63.41%)

388.12 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_]*$/
48✔
2

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

8
  return `"${identifier}"`
19,751✔
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!
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 · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc