Aaron Piotrowski
Aaron Piotrowski
> Strangely. How to use this library with this bug in migrations? I've always imported `.sql` files on the command-line. I've never found a need to write code to do...
This has been implemented in the `streams` branch and will be included in `v2.0`.
Note this got pushed to the Amp v3-compatible version, but that will be coming sometime this fall.
IMO, the example should be processing the user list and updating it within the callback given to transactional, otherwise why was the SELECT query performed in a transaction at all?...
A service would not commit a transaction. For the service query to be executed within the context of a transaction, the `Transaction` object would need to be used for the...
Yes, it does in [v1](https://github.com/amphp/postgres/blob/f52cc35ef02ee4ad709083e0432c2288d4df7de0/src/ConnectionTransaction.php#L216), seems that was overlooked when upgrading to v2.
The issue here it seems is that the connection returned from the pool may be a new connection instance. I can reproduce this with both `ext-pgsql` and `ext-pq`, as using...
Thanks, would you be willing to add a test for this as well?
The connection may be going away, resulting in [this call](https://heap.space/xref/php-src/ext/pgsql/pgsql.c?r=ba337577#3547) returning -1. Can you try reducing the idle timeout on your pool and see if that helps? I added a...
I haven't been able to reproduce this. Any tips?