(url: string)
| 93 | } |
| 94 | |
| 95 | function isPostgresUrl(url: string): boolean { |
| 96 | return url.startsWith("postgres://") || url.startsWith("postgresql://"); |
| 97 | } |
| 98 | |
| 99 | /** Only unquoted [A-Za-z_][A-Za-z0-9_]* identifiers are allowed — no spaces, |
| 100 | * no quoting, no dotted names. This is deliberately strict: it stops the |