...and no mention at all of recursive CTEs.
My favorite ridiculous use-case for them: https://wiki.postgresql.org/wiki/Mandelbrot_set
(For reference, that ran in 252ms on my low-end Linode.)
My favorite ridiculous use-case for them: https://wiki.postgresql.org/wiki/Mandelbrot_set
(For reference, that ran in 252ms on my low-end Linode.)
Postgres CTEs are amazing, though. Surprisingly efficient for our particular usage case (threaded discussions that don't ever get too deep).