+build !windows

package pq

import 
sslKeyPermissions checks the permissions on user-supplied ssl key files. The key file should have very little access. libpq does not check key file permissions on Windows.
func ( string) error {
	,  := os.Stat()
	if  != nil {
		return 
	}
	if .Mode().Perm()&0077 != 0 {
		return ErrSSLKeyHasWorldPermissions
	}
	return nil