You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm not very experienced with Go at this stage, and running tests, however running "go test" using Win8 and latest Go version (go1.1.2 windows/amd64), I get :
My guess is connection_settings_test.go is not set up. pgx requires credentials to connect to a PostgreSQL server. Open connection_settings_test.go.example and do a "save as" without the example. Ensure you have valid credentials in that file. There is more info at the bottom of the readme.
Yes, that fixed it thanks. I created the user "pgx_md5", the Database "pgx_test", and saved the file as described. I'm yet to examine the test programs to see what's happening.
I'm not very experienced with Go at this stage, and running tests, however running "go test" using Win8 and latest Go version (go1.1.2 windows/amd64), I get :
github.com/JackC/pgx_test
c:\users\boh\golang\mygo\pkg\src\github.com\JackC\pgx\bench_test.go:605: undefin
ed: defaultConnectionParameters
c:\users\boh\golang\mygo\pkg\src\github.com\JackC\pgx\connection_pool_test.go:13
: undefined: defaultConnectionParameters
c:\users\boh\golang\mygo\pkg\src\github.com\JackC\pgx\connection_pool_test.go:28
: undefined: defaultConnectionParameters
etc. ...................
The text was updated successfully, but these errors were encountered: