Quantcast
Channel: Planet PostgreSQL
Viewing all articles
Browse latest Browse all 9654

Marko Tiikkaja: Queues in SQL

$
0
0
This is actually a post I should've written a long time ago, but never got to it. The problem this post is discussing is implementing a queue in SQL. There are a lot of problems and some of them aren't immediately obvious, so it's not surprising that this is a frequently asked question on the IRC channel. Let's use the following schema: CREATE TABLE items ( id serial PRIMARY KEY,

Viewing all articles
Browse latest Browse all 9654

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>