Results 489 comments of Jack Christensen

I don't have docker setup on my development machine (I'm on MacOS), but I ran the example against my local database both over TCP and local socket. I wasn't able...

Hmm... I'm not sure. The cancel request has to temporarily make a new connection to issue the cancel request. Not sure if those are counted in PgBouncer or PostgreSQLs max...

pgconn doesn't really have anything to do with those options. It just executes the SQL string and copies the data from the `io.Reader` to the remote server. There must be...

It is safe -- though the handler must be written with care. It can be called during the execution of a query so it is unsafe to do anything with...

> Cool! What would happen in case the connection is waiting for a notification and a statement is executed, would that interfere? In pgx if a notification is received while...

Nothing jumps out at me. Try to isolate this example to a reproduction case that doesn't require Mongo. Perhaps manually construct the slice to pass to `CopyFrom` that demonstrates the...

So it works with a single pgx connection, but doesn't work through the pool? That is very surprising. The pool is a very thin wrapper. There shouldn't be much that...

Can you provide an example of how this would be used? I don't understand the use case. Especially because it is very unusual to use `pgtype.Numeric` directly.

I think this is fundamentally the same issue as #1929. And I think it should be solved by the same approach. `Connect` should return some sort of multi-error that includes...

Yeah, I don't think a parallel connection attempt is a good idea. And I don't think the other PR that is proposed for #1929 is right either. But if the...