└─┬ [email protected]
└─┬ [email protected]
└── [email protected]
This issue is happening because of using old version of pg-types module.
Do you have a plan to update pgtypes to 3.x from 2.x?
The latest version of pg-types is using new version of postgres-bytea and this issue has been fixed there.
Oh yes I need to upgrade. I know there are some backwards incompatible changes which is why I've waited so long. I think I should schedule a [email protected] upgrade for some time in January and make it a bundle of breaking changes. @charmander got any other breaking changes that come to mind? I'd like to deprecate the "query queue" concept in 9.0 - add a deprecation warning if you queue a query while another one is still in flight. Thoughts?
@brianc All of that sounds good! BigInt becoming the default value type for BIGINT is also something pg-types might be about to get. If you’re looking to bundle more breaking changes (I guess it’s good for getting people to look at the changelog!), thoughts on these?
types query option (it’s an array of OIDs, but also a TypeParser) into incoming and outgoing typessslmode=… behaviour (#2375, #2299) + service configuration (#416)ssl=1 and #2195We can open issues to discuss them if they sound worth talking about!
Also, for pg-pool, there are breaking change ideas queued up, like returning client wrappers that stop working when they’re returned to the pool; those would also be waiting on a new major pg version eventually, so maybe they can be revisited too for this major.
BigIntbecoming the default value type
That's gonna wreck havoc, imo.
libpq-compatible connection string parsing (started at
Not again, for the 100-th time,... why won't just use the generic connection-string again?
returning client wrappers that stop working when they’re returned to the pool
Hasn't this been there for ages, releasing the pool connection with release(true)? the boolean tells the pool to terminate the connection.
@vitaly-t Your “generic” package isn’t libpq-compatible. It’s MongoDB-compatible. release(true) is completely unrelated to what you quoted and I don’t feel like wasting time expanding on it for you.