Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(cubesql): Increase limits for statements/portals/cursors (#5146)
I've implemented these limits to protect against possible memory leaks because at the beginning of SQL API we didn't implement: discard/deallocate/transactions. Right now, it's safe to increase these limits - Prepared statements: 128, because some PG clients use the local map to parse statements once, and then it reuses them while a connection is still alive. - Cursors: 16, because by default it lives inside a transaction. Some clients can use WITH HOLD to use it without a transaction. - Portals: 64, because It's a too large object, and it should be closed after usage. Previously it was 15, but let's give it a try.
- Loading branch information