Skip to content(if available)orjump to list(if available)

PgFirstAid: PostgreSQL function for improving stability and performance

netcraft

Very nice!

Did you consider making this a view instead? Just curious if there is a reason why you couldn't.

singron

I'm not the author, but I think you could by using UNION ALL instead of temp tables. You could also make a view that just calls this function. I'm not sure why it would matter though.