This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| SELECT | |
| d.objid::regclass AS owning_object, | |
| d.refobjid::regclass AS dependent_object, | |
| a.attname AS dependent_column, | |
| d.deptype -- The meaning of this type is documented at https://www.postgresql.org/docs/current/catalog-pg-depend.html | |
| FROM pg_catalog.pg_depend d | |
| LEFT JOIN pg_catalog.pg_attribute a ON d.refobjid = a.attrelid | |
| AND d.refobjsubid = a.attnum | |
| WHERE refobjid = '<table>'::regclass | |
| AND a.attname = '<column>'; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Available variables: | |
| // - Machine | |
| // - interpret | |
| // - assign | |
| // - send | |
| // - sendParent | |
| // - spawn | |
| // - raise | |
| // - actions |
OlderNewer