isPGSystemPath checks if a path is a PostgreSQL system schema.
(path string)
| 119 | |
| 120 | // isPGSystemPath checks if a path is a PostgreSQL system schema. |
| 121 | func isPGSystemPath(path string) bool { |
| 122 | systemSchemas := []string{"pg_catalog", "information_schema", "pg_toast", "pg_temp_1", "pg_temp_2", "pg_global"} |
| 123 | for _, schema := range systemSchemas { |
| 124 | if strings.EqualFold(path, schema) { |
| 125 | return true |
| 126 | } |
| 127 | } |
| 128 | return false |
| 129 | } |
no outgoing calls
no test coverage detected