Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
沖縄観光とPostgreSQL排他制約の話
Search
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
nikawa2161
December 28, 2025
Technology
44
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
沖縄観光とPostgreSQL排他制約の話
nikawa2161
December 28, 2025
Transcript
34 slides
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
More Decks by nikawa2161
See All by nikawa2161
Node.js Subpath imports
nikawa2161
0
50
Sagaパターン入門(続編)
nikawa2161
0
59
Sagaパターン入門
nikawa2161
0
85
20251209_プログラミング原則の学び
nikawa2161
0
47
自分のコードを数年ぶりに読んだら
nikawa2161
0
29
ユーザーインタビュー分析に参加して得られたことと気づき
nikawa2161
0
49
oEmbedとは?
nikawa2161
0
280
はじめまして、にかわです
nikawa2161
0
34
課題を映す問題空間と、答えを描く解決空間
nikawa2161
0
33
Other Decks in Technology
See All in Technology
Amazon Bedrock AgentCore の基礎とセキュリティ・ガバナンス
ren8k
0
280
IVRy における AI 時代のデータプロダクトと事業開発
ivry_presentationmaterials
0
120
メルカリの小規模チーム「Pod」で、 エンジニアがデータアナリストなしで、 AIを使ってデータ分析の自走を目指す取り組み
jackojacko_
1
360
AIエージェントのアーキテクチャ設計
nsatoh
0
560
Welcome JXL!
dynamis
0
300
デザインシステムのフィードバックループをほぼ自動化した話
tongari07
0
560
目を覚ませ!僕らの認証情報が何者かに侵略されてるぞ
tkito
2
490
競馬予想をAIでやってみた話
yoshimura_datam
0
100
Agent Routerで作るマルチテナント 推論基盤 #CNDW2026 / Building Multi-Tenant Inference Platform with Agent Router #CNDW2026
everpeace
5
610
認知の質も文化醸成も。数年取り組んで見えてきた技術広報のKPI設計 / Tech PR KPIs: Lessons on Awareness Quality and Culture After Several Years
bitkey
PRO
0
220
「正しいデータ」の定義をAI エージェントとつくるGoogleADKによるデータ品質定義の実践
takaha4k
0
140
パスワードのない鍵で、 データを手元に置く
ginjihayashi
0
400
Featured
See All Featured
The Straight Up "How To Draw Better" Workshop
denniskardys
239
140k
Building AI with AI
inesmontani
PRO
1
1.4k
The AI Search Optimization Roadmap by Aleyda Solis
aleyda
2
6.5k
The #1 spot is gone: here's how to win anyway
tamaranovitovic
4
1.2k
Facilitating Awesome Meetings
lara
57
7.2k
Product Roadmaps are Hard
iamctodd
55
13k
KATA
mclloyd
PRO
35
16k
Self-Hosted WebAssembly Runtime for Runtime-Neutral Checkpoint/Restore in Edge–Cloud Continuum
chikuwait
0
970
Designing for humans not robots
tammielis
254
26k
Claude Code どこまでも/ Claude Code Everywhere
nwiizo
68
61k
Navigating Algorithm Shifts & AI Overviews - #SMXNext
aleyda
1
1.7k
Public Speaking Without Barfing On Your Shoes - THAT 2023
reverentgeek
1
670