Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
沖縄観光とPostgreSQL排他制約の話
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
nikawa2161
December 28, 2025
Technology
0
24
沖縄観光とPostgreSQL排他制約の話
nikawa2161
December 28, 2025
Tweet
Share
More Decks by nikawa2161
See All by nikawa2161
Node.js Subpath imports
nikawa2161
0
11
Sagaパターン入門(続編)
nikawa2161
0
22
Sagaパターン入門
nikawa2161
0
29
20251209_プログラミング原則の学び
nikawa2161
0
19
自分のコードを数年ぶりに読んだら
nikawa2161
0
14
ユーザーインタビュー分析に参加して得られたことと気づき
nikawa2161
0
16
oEmbedとは?
nikawa2161
0
29
はじめまして、にかわです
nikawa2161
0
14
課題を映す問題空間と、答えを描く解決空間
nikawa2161
0
10
Other Decks in Technology
See All in Technology
Phase05_ClaudeCode入門
overflowinc
0
2.1k
VSCode中心だった自分がターミナル沼に入門した話
sanogemaru
0
640
AIエージェント時代に必要な オペレーションマネージャーのロールとは
kentarofujii
0
100
開発チームとQAエンジニアの新しい協業モデル -年末調整開発チームで実践する【QAリード施策】-
kaomi_wombat
0
240
Copilot 宇宙へ 〜生成AIで「専門データの壁」を壊す方法〜
nakasho
0
190
Agent Skill 是什麼?對軟體產業帶來的變化
appleboy
0
230
【AWS】CloudTrail LakeとCloudWatch Logs Insightsの使い分け方針
tsurunosd
0
120
スピンアウト講座01_GitHub管理
overflowinc
0
1.4k
Kubernetesの「隠れメモリ消費」によるNode共倒れと、Request適正化という処方箋
g0xu
0
120
スケールアップ企業でQA組織が機能し続けるための組織設計と仕組み〜ボトムアップとトップダウンを両輪としたアプローチ〜
tarappo
4
370
How to install a gem
indirect
0
1.5k
Phase09_自動化_仕組み化
overflowinc
0
1.7k
Featured
See All Featured
New Earth Scene 8
popppiees
1
1.8k
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
133
19k
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
32
2.5k
brightonSEO & MeasureFest 2025 - Christian Goodrich - Winning strategies for Black Friday CRO & PPC
cargoodrich
3
130
Are puppies a ranking factor?
jonoalderson
1
3.2k
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
287
14k
How to Align SEO within the Product Triangle To Get Buy-In & Support - #RIMC
aleyda
1
1.5k
Statistics for Hackers
jakevdp
799
230k
Speed Design
sergeychernyshev
33
1.6k
KATA
mclloyd
PRO
35
15k
First, design no harm
axbom
PRO
2
1.1k
世界の人気アプリ100個を分析して見えたペイウォール設計の心得
akihiro_kokubo
PRO
68
38k
Transcript
None
None
None
None
None
None
None
None
None
None
None
None
None
None
None
None
None
None
None
None
None
None
btree_gist
CREATE EXTENSION btree_gist; CREATE TABLE room_reservations ( room_name text, check_in
timestamp, check_out timestamp ); ALTER TABLE room_reservations ADD CONSTRAINT no_overlapping_reservations EXCLUDE USING gist ( room_name WITH =, tsrange(check_in, check_out) WITH && );
room_name check_in check_out
no_overlapping_reservations
&&
gist ( room_name WITH =, tsrange(check_in, check_out) WITH && );
room_name WITH = tsrange(check_in, check_out) WITH &&
tsrange check_in check_out
WHERE (start1 < end2) AND (start2 < end1) WHERE period1
&& period2
EXTENSION btree_gist room_name
None
btree_gist
None