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

supabase / storage / 30105224435

24 Jul 2026 03:25PM UTC coverage: 59.634% (-20.8%) from 80.45%
30105224435

Pull #1261

github

web-flow
Merge 56e9321c4 into 42bb7886c
Pull Request #1261: chore(deps): bump @opentelemetry/instrumentation-pg from 0.64.0 to 0.72.0

3705 of 7077 branches covered (52.35%)

Branch coverage included in aggregate %.

7681 of 12016 relevant lines covered (63.92%)

370.0 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!
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!
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