paupino / psqlpack

A logical database management system for PostgreSQL enabling incremental database deployment.
Apache License 2.0
8 stars 2 forks source link

Parse Function Bodies for Topological ordering #43

Open paupino opened 7 years ago

paupino commented 7 years ago

At the moment, functions aren't parsed therefore don't contribute to topological ordering. This is required in order to avoid dependent function bugs.

paupino commented 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.

paupino commented 7 years ago

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.

paupino commented 6 years ago

Potentially related to #42