lib / pq

Pure Go Postgres driver for database/sql
https://pkg.go.dev/github.com/lib/pq
MIT License
8.86k stars 908 forks source link

Fix build tags for user_other file. #1087

Open Toasterson opened 1 year ago

Toasterson commented 1 year ago

During the compilation of gitea on illumos I ran into the issue that both user_posix.go and user_other.go where considered for inclusion by the golang compiler with golang 1.18.

This PR forces the golang compiler to exclude user_other on all platforms mentioned in user_posix.

Testing on Windows should be done for this PR as I do not own any Windows machine and it is likely that user_other.go also conflicts withuser_windows.go.

cbandy commented 1 year ago

What is your GOOS ?

Toasterson commented 1 year ago

GOOS="illumos"