Comments (3)
Please note: I have used localhost for all testing. When internet is disconnected (ie. no broadband connected) on Windows, it runs much faster. "go test" takes 3 seconds compared to 0.321 seconds on Ubuntu, but much faster than the 39 seconds that it takes on Windows with the broadband connected. On Ubuntu it makes no difference to times whether internet is connected or not.
from pq.
Interesting that when the network is turned off it's faster.
Sounds like IPv6 or name lookup timeouts.
This is a dup of #69. I'd close this one but I don't have the authority.
from pq.
Closing as duplicate.
And yes, the sheer amount of time involved sounds like it could well be a resolution issue, but there was a time in the past where pq
issued a metric ton of syscalls. That was fixed for at least one common case, but perhaps this can be evidence of another.
from pq.
Related Issues (20)
- db.Close() fails when a query operation (ExecContext) is cancelled HOT 1
- ▄
- lib/pq incorrectly escapes input strings that are already escaped
- v1.10.8 break if .pgpass contains empty line HOT 1
- v1.10.8 got undefined: driver.Validator HOT 2
- Potential leak in notify.go HOT 1
- Unable to parse arrays that are not 1-based
- Array types can't convert {NULL} HOT 2
- Does pg not support integer type?
- converting NULL to string is unsupported
- [docs] Add example of multiple parallel listeners HOT 1
- Tx.Rollback returns ErrBadConn after context is cancelled
- Connection string parsing fails randomly HOT 2
- 1 Listener for 2 channel HOT 1
- SonarCloud Vulnerability: Make sure this PostgreSQL database password gets changed and removed from the code.
- Usage of COPY TO STDOUT WITH CSV
- RFC 9266: Channel Bindings for TLS 1.3 support
- Query extra_float_digits problem
- Is Postgres15.4 is compatible with the lib/pq package?
- What kind of mistake is this?
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 pq.