forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitc33869c
committed
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. Makepsql's \d display it.We'd like to backpatch, but lack of the pg_trigger.tgparentid columnmakes it more difficult. Punt for now. If somebody wants to volunteeran implementation that reads pg_depend on older versions, that canprobably be backpatched.Authors: Justin Pryzby, Amit Langote, Álvaro HerreraDiscussion:https://postgr.es/m/20200419002206.GM26953@telsasoft.com1 parent27dbe1a commitc33869c
2 files changed
+17
-3
lines changedLines changed: 16 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
2939 | 2939 |
| |
2940 | 2940 |
| |
2941 | 2941 |
| |
2942 |
| - | |
| 2942 | + | |
2943 | 2943 |
| |
2944 | 2944 |
| |
2945 | 2945 |
| |
2946 | 2946 |
| |
2947 | 2947 |
| |
2948 | 2948 |
| |
2949 |
| - | |
| 2949 | + | |
| 2950 | + | |
| 2951 | + | |
| 2952 | + | |
| 2953 | + | |
| 2954 | + | |
| 2955 | + | |
| 2956 | + | |
| 2957 | + | |
2950 | 2958 |
| |
2951 | 2959 |
| |
2952 | 2960 |
| |
| |||
3062 | 3070 |
| |
3063 | 3071 |
| |
3064 | 3072 |
| |
| 3073 | + | |
| 3074 | + | |
| 3075 | + | |
| 3076 | + | |
| 3077 | + | |
| 3078 | + | |
3065 | 3079 |
| |
3066 | 3080 |
| |
3067 | 3081 |
| |
|
Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
2033 | 2033 |
| |
2034 | 2034 |
| |
2035 | 2035 |
| |
2036 |
| - | |
| 2036 | + | |
2037 | 2037 |
| |
2038 | 2038 |
| |
2039 | 2039 |
| |
|
0 commit comments
Comments
(0)