paint-brush
PostgreSQL Transaction Isolation Levels with Go Examplesby@avk-ai
9,684 reads
9,684 reads

PostgreSQL Transaction Isolation Levels with Go Examples

by Aleksandr Kochetkov10mMay 14th, 2020
Read on Terminal Reader
Read this story w/o Javascript
tldt arrow

Too Long; Didn't Read

Postgres Transaction Isolation Levels with Go Examples. Go has two main not-orm libraries to work with Postgres, pg/lib and jackc/pgx. Pgx is preferable and I gonna use it in examples. All transactions are Postgres protected from dirty read, it is not possible to read changes, that not yet committed. Different isolation levels are targeted to prevent undesirable phenomena: dirty read and nonrepeatable read, phantom read, and serialization anomaly. Postgres supports only 3 of them.

Company Mentioned

Mention Thumbnail
featured image - PostgreSQL Transaction Isolation Levels with Go Examples
Aleksandr Kochetkov HackerNoon profile picture
Aleksandr Kochetkov

Aleksandr Kochetkov

@avk-ai

Go developer. Blockchain expert.

About @avk-ai
LEARN MORE ABOUT @AVK-AI'S
EXPERTISE AND PLACE ON THE INTERNET.
L O A D I N G
. . . comments & more!

About Author

Aleksandr Kochetkov HackerNoon profile picture
Aleksandr Kochetkov@avk-ai
Go developer. Blockchain expert.

TOPICS

THIS ARTICLE WAS FEATURED IN...

Permanent on Arweave
Read on Terminal Reader
Read this story in a terminal
 Terminal
Read this story w/o Javascript
Read this story w/o Javascript
 Lite