I'm trying to write two custom recursive functions: one that selects,
and the other that selects/updates.
I've been looking around the internet for examples for they're so
limiting and completely off track from what I need to do. The best
examples I can find is in the source code for Postgres, but that's so
complicated I barely have an idea whats going on with its limited
comments.
So, does anyone know of (or have) good examples of queries within
functions (and returning sets of data)?
Thanks in advance,
~ Matthew