Comments (1)
Wanted to add two more points from the doc.
First is that:
If successfully created, a named portal object lasts till the end of the current transaction ...
So this is why I mentioned the Start/CommitTransaction
messages in the log above.
And second,
If the client has not issued an explicit BEGIN, then each Sync ordinarily causes an implicit COMMIT if the preceding step(s) succeeded, or an implicit ROLLBACK if they failed.
Looking at the trace of the minimized example, you can see this also:
→ Bind(portal_3,statement_1,List())
→ Flush
← BindComplete
→ Bind(portal_4,statement_2,List())
→ Flush
← BindComplete
→ Execute(portal_4,2)
→ Flush
← RowData(List(Some(2023-06-27)))
← CommandComplete(Select(1))
→ Sync <---
← ReadyForQuery(Idle)
→ Execute(portal_3,2)
→ Flush
← ErrorResponse(F -> postgres.c, M -> portal "portal_3" does not exist, V -> ERROR, L -> 1917, C -> 34000, R -> exec_execute_message, S -> ERROR
Perhaps, it's a matter of being clever about the sync
, but this might also impact error recovery.
from skunk.
Related Issues (20)
- Type inference for type argument in `to[A]` no longer working HOT 1
- Deadlock while using session pool HOT 1
- Unhandled backend message HOT 1
- NumberFormatException when parsing OID values exceeding 32-bit signed integer range HOT 7
- e HOT 1
- Feature request: logical replication HOT 2
- Support dynamic passwords HOT 1
- Should AppliedFragment Monoid use spaces?
- postgis types are a bit too generic
- Codecs for Native and JS types HOT 2
- Fragment's stripMargin can change the query
- Exceptions in transactions are printed to stderr HOT 3
- Skunk can't find `enum` type in schema HOT 3
- Relax reliance on `SocketGroup` HOT 1
- Feature reqest: migrations. HOT 1
- Extending the sql interpolator?
- Session pool examples [Question]
- decode joined rows
- Fragment interpolation breaks with nested fragments HOT 1
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 skunk.