We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 732c48e commit fa7ee17Copy full SHA for fa7ee17
internal/engine/postgresql/parse_disabled.go
@@ -19,7 +19,10 @@ type Parser struct {
19
}
20
21
func (p *Parser) Parse(r io.Reader) ([]ast.Statement, error) {
22
- return nil, errors.New("the PostgreSQL engine does not support Windows")
+ if runtime.GOOS == "windows" {
23
+ return nil, errors.New("the PostgreSQL engine does not support Windows.")
24
+ }
25
+ return nil, errors.New("the PostgreSQL engine requires cgo. Please set CGO_ENABLED=1.")
26
27
28
// https://www.postgresql.org/docs/current/sql-syntax-lexical.html#SQL-SYNTAX-COMMENTS
0 commit comments