---
title: "Discussion on \"SELECT ... FOR UPDATE that locks nothing: I raced two connections and scanned 122 booking and payment repos\" | Hashnode"
description: "Discussion on \"SELECT ... FOR UPDATE that locks nothing: I raced two connections and scanned 122 booking and payment repos\". pool.query + FOR UPDATE let both requests pay 20 times out of 20 on Postgres 18.6. What I found in 122 booking and payment repos, and the fix."
url: "https://hashnode.com/posts/postgres-select-for-update-locks-nothing/6b0bfcd18bfb18d26813bee8"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [SELECT ... FOR UPDATE that locks nothing: I raced two connections and scanned 122 booking and payment repos](https://sunnatulla.hashnode.dev/postgres-select-for-update-locks-nothing?utm_source=hashnode&utm_medium=feed)

pool.query + FOR UPDATE let both requests pay 20 times out of 20 on Postgres 18.6. What I found in 122 booking and payment repos, and the fix.

23h ago · 8 min read · sunnatulla.hashnode.dev  
Read the article

-   [#postgresql](https://hashnode.com/tag/postgresql)
-   [#node](https://hashnode.com/tag/node)
-   [#python](https://hashnode.com/tag/python)
-   [#webdev](https://hashnode.com/tag/webdev)
-   [#databases](https://hashnode.com/tag/databases)

## Written by

[Sunnatulla E.](https://hashnode.com/@sunnatulla)

@sunnatulla

  
[View profile](https://hashnode.com/@sunnatulla)

Full-stack developer (React, Next.js, Node.js, Supabase). Open-source work: github.com/atokim4

Full-stack developer working with React, Next.js, Node.js and Supabase. My open-source projects are at github.com/atokim4.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
