Comments (3)
Actually, I've just found that using .replace(".", "_")
can cause non-unique statement names. This is because statement names are truncated at 63 characters (by default, at least) because they are an identifier. Putting the schema name first chews up valuable real-estate. Since statements are local to a session, would the schema name actually be necessary? If not, .split(".")[-1]
might be more appropriate.
from eventsourcing.
@lxop As discussed on Slack, thanks for raising this issue.
I think I fixed both aspects in 88fe8bb.
Let me know if it's working for you now? Please note, since this issue was raised, I have changed several things in the postgres module, especially adding a connection pool which still needs more work. In the meantime, please set environment variables 'POSTGRES_POOL_MIN_CONN' and 'POSTGRES_POOL_MAX_CONN' to a suitable number.
from eventsourcing.
@lxop I have finished the new connection pool. As documented, the new names for the environment variables mentioned above are POSTGRES_POOL_SIZE
and POSTGRES_MAX_OVERFLOW
. See also POSTGRES_POOL_TIMEOUT
.
from eventsourcing.
Related Issues (20)
- Postgres does not accept idle_in_transaction_session_timeout as float string HOT 2
- Postgres schema change possibility HOT 5
- Investigating potential problem when saving events for multiple aggregates HOT 2
- Aggregate Not Found when AGGREGATE_CACHE_MAXSIZE not set HOT 13
- monotonic HOT 2
- support postgresql as alias for postgres persistence module HOT 3
- Support for rabbitmq HOT 10
- Best way to befriend sqlalchemy database and eventsourcing HOT 6
- Is it necessary to re-hydrate an aggregate to check it exists in a repository? HOT 4
- Suggested approach to Entities in 9.x? HOT 1
- Slack invite not working HOT 3
- Snapshot in aggregate8 example won't work for custom object in aggregate HOT 8
- `Follower(Application)` does not call `self.construct_mapper()` HOT 5
- Additional examples HOT 2
- How to set aggregate/application state for tests? HOT 1
- Automatic snapshotting not work for functional style aggregate HOT 8
- Use ProcessApplication build materialized view HOT 2
- Question: How to best integrate with token based authentication for Postgres HOT 16
- Question: how to avoid performance bottleneck with huge number of events HOT 2
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 eventsourcing.