Hi,
I upgraded the version of PostgreSQL from 12.13 to 12.16.
If multiple subqueries or a large number of UNION ALL were used,
the previously unseen error message "ERROR: stack depth limit exceeded" will appear after upgrading the version.
I understand that increasing the value of max_stack_depth can prevent code errors,
but is there a good way to find out which SQL statements have issues without having to run all SQL statements, as it would be too expensive?
Regards