Floyd-Warshal algorithm in PostgreSQL PL/pgSQL.
This article is an extension of my previous article This time, however, I will write the algorithm completely in PostgreSQL’s PL/pgSQL. For background information and to understand the premise of this post, please glance through my previous post.
Ok now that you’re familiar with what we’re working towards, here’s my assumption of your database structure:
You have [...]




