Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions internal/engine/postgresql/convert.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//go:build !windows
// +build !windows
//go:build !windows && cgo
// +build !windows,cgo

package postgresql

Expand Down Expand Up @@ -3120,7 +3120,7 @@ func convertNode(node *pg.Node) ast.Node {

case *pg.Node_BooleanTest:
return convertBooleanTest(n.BooleanTest)

case *pg.Node_CallStmt:
return convertCallStmt(n.CallStmt)

Expand Down
4 changes: 2 additions & 2 deletions internal/engine/postgresql/parse.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//go:build !windows
// +build !windows
//go:build !windows && cgo
// +build !windows,cgo

package postgresql

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//go:build windows
// +build windows
//go:build windows || !cgo
Copy link
Contributor Author

@anuraaga anuraaga Feb 14, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Had to rename this file since _windows was implicitly causing the file to only be used on windows, independent of the build tag

// +build windows !cgo

package postgresql

Expand Down
4 changes: 2 additions & 2 deletions internal/engine/postgresql/utils.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//go:build !windows
// +build !windows
//go:build !windows && cgo
// +build !windows,cgo

package postgresql

Expand Down