Comments (2)
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.
Let me know if this solves the problem.
from pgx.
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.
from pgx.
Related Issues (20)
- ERROR: 'with' expected (SQLSTATE 00000) 0 HOT 1
- What replaces pgtype.TextArray? HOT 1
- Different signature of Exec & Query functions for Pool and Conn HOT 1
- zeronull.Date
- Guidance on prepared Statements HOT 1
- Use hash as key for statement cache HOT 2
- pgx.Batch{} question HOT 2
- .Connect parser doesn't seem to match standard connection url HOT 3
- Scanning multi-dimensional array into `any` or `[]any` results in a flattened slice HOT 1
- "github.com/jackc/pgx/v5" is not open HOT 2
- Expose SeverityUnlocalized in Notice HOT 6
- ERROR: prepared statement "lrupsc_1_20" already exists, and plansource is not the same. (SQLSTATE 42P05) HOT 1
- my pool keeps running out of connections HOT 1
- storing a string Go value into bytea PostgreSQL column works, but reading it back fails HOT 5
- Batch should flush every so often to reduce memory usage HOT 1
- Null handling for .RowsToStructByName HOT 1
- Prepare statement with `name == sql` fail to run HOT 1
- Make error codes public HOT 1
- Would it be possible to have QueryRow return a CollectableRow instead of a *Row? HOT 1
- Since v5 pgx.ScanRow cannot scan null::INTEGER to sql.NullInt64 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pgx.