Quantcast
Channel: Question and Answer » transaction
Viewing all articles
Browse latest Browse all 35

Can I select data inserted in the same uncommited transaction?

$
0
0

Maybe this is a dumb beginner question, but I cannot find an answer anywhere. Everywhere I read about the Transaction Isolation which solves the visibility of data within the concurrent transactions. My concern is the behavior within a single transaction.

If I start a transaction, insert some data, am I going to be able to select them right after – still within the same, yet uncommitted, transaction?
If yes, can this behavior be changed in a similar way like the mentioned Transaction Isolation in the case of concurrent transactions?

To be specific, I’m targetting PostgreSQL 9.4.


Viewing all articles
Browse latest Browse all 35

Trending Articles