Qingqing Zhou <[EMAIL PROTECTED]> writes:
> How do we force the dependency according to pg_dependency records? Seems
> pg_dependency just records them and we follow the records by hand on
> create or delete ...

Deletion scans the entries and either deletes the dependent objects or
raises error.  It's not "by hand" particularly, at least not for
anything outside dependency.c.  If you were to write code that deleted
objects directly without going through the dependency mechanism, it
wouldn't get accepted ;-)

                        regards, tom lane

---------------------------(end of broadcast)---------------------------
TIP 4: Don't 'kill -9' the postmaster

Reply via email to