- Sort Score
- Num 10 results
- Language All
Results 1 - 1 of 1 for TestPsqlTableNameValidation (0.95 seconds)
-
internal/event/target/postgresql_test.go
func TestPostgreSQLRegistration(t *testing.T) { var found bool if slices.Contains(sql.Drivers(), "postgres") { found = true } if !found { t.Fatal("postgres driver not registered") } } func TestPsqlTableNameValidation(t *testing.T) { validTables := []string{"táblë", "table", "TableName", "\"Table name\"", "\"✅✅\"", "table$one", "\"táblë\""} invalidTables := []string{"table name", "table \"name\"", "✅✅", "$table$"}
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 1.6K bytes - Click Count (0)