Open paupino opened 7 years ago
This could potentially be a regex to pull out function names. It'd also be worthwhile checking to see if PostgreSQL validates dependencies or not when processing.
Confirmed: PostgreSQL does validate dependencies. If we go the full blown parser approach we may want to consider writing a separate parser for DML vs DDL, or make it a separate O/S library that can be pulled in.
Potentially related to #42
At the moment, functions aren't parsed therefore don't contribute to topological ordering. This is required in order to avoid dependent function bugs.