Hi, I was wondering whether there is a backend function to help finding the dependencies on a relation.column inside pg_depend. Something like dependency.c:0255:findAutoDeletableObjects also taking the "refobjsubid" with the search. This I ask in order to avoid reinventing the wheel :)
Perhaps the "findAutoDeletableObjects" could be used but the function name is confusing. Thanks. ---------------------------(end of broadcast)--------------------------- TIP 9: In versions below 8.0, the planner will ignore your desire to choose an index scan if your joining column's datatypes do not match