Dmitry Dolgov <9erthalion6(at)gmail(dot)com> writes:
> About dependencies between functions - as far as I understand one cannot
> create a `pg_depend` entry or any other kind of dependencies between
> custom user-defined functions.
Uh, what? Sure you can. Just because the existing code never has a
reason to create such a dependency doesn't mean it wouldn't work.
regards, tom lane