diff options
author | Alvaro Herrera <alvherre@alvh.no-ip.org> | 2020-04-21 18:37:26 -0400 |
---|---|---|
committer | Alvaro Herrera <alvherre@alvh.no-ip.org> | 2020-04-21 18:37:26 -0400 |
commit | c33869cc3bfc42bce822251f2fa1a2a346f86cc5 (patch) | |
tree | 2c3a96002ac46719680d17c45f3f5e8a9b4690f6 /src/backend/utils/adt/array_userfuncs.c | |
parent | 27dbe1a18423f2f80c10d191844a0ba4dea650ff (diff) | |
download | postgresql-c33869cc3bfc42bce822251f2fa1a2a346f86cc5.tar.gz postgresql-c33869cc3bfc42bce822251f2fa1a2a346f86cc5.zip |
psql \d: Display table where trigger is defined, if inherited
It's important to know that a trigger is cloned from a parent table,
because of the behavior that the trigger is dropped on detach. Make
psql's \d display it.
We'd like to backpatch, but lack of the pg_trigger.tgparentid column
makes it more difficult. Punt for now. If somebody wants to volunteer
an implementation that reads pg_depend on older versions, that can
probably be backpatched.
Authors: Justin Pryzby, Amit Langote, Álvaro Herrera
Discussion: https://postgr.es/m/20200419002206.GM26953@telsasoft.com
Diffstat (limited to 'src/backend/utils/adt/array_userfuncs.c')
0 files changed, 0 insertions, 0 deletions