Skip to content
This repository has been archived by the owner on Jun 5, 2024. It is now read-only.

publish: reenable unlocking measurements #46

Merged
merged 1 commit into from
May 21, 2024

Conversation

juliangruber
Copy link
Member

No description provided.

@juliangruber juliangruber requested a review from bajtos May 19, 2024 13:39
Copy link
Member

@bajtos bajtos left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The index seems to work now. Your change should be safe to land & deploy. 👍🏻

EXPLAIN ANALYZE UPDATE measurements SET lock = NULL WHERE lock IS NOT NULL;
                                                               QUERY PLAN
-----------------------------------------------------------------------------------------------------------------------------------------
 Update on measurements  (cost=0.12..2.34 rows=0 width=0) (actual time=0.010..0.010 rows=0 loops=1)
   ->  Index Scan using measurements_locked on measurements  (cost=0.12..2.34 rows=1 width=38) (actual time=0.009..0.009 rows=0 loops=1)
         Index Cond: (lock IS NOT NULL)
 Planning Time: 0.101 ms
 Execution Time: 0.121 ms
(5 rows)

@juliangruber juliangruber merged commit fe2d9f6 into main May 21, 2024
8 checks passed
@juliangruber juliangruber deleted the update/reenable-unlocking-measurements branch May 21, 2024 09:45
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants