forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit4aa6fa3
Amit Kapila
Include schema/table publications even with exclude options in dump.
The current implementation inconsistently includes public schema but notinformation_schema when those are specified in FOR TABLES IN SCHMEA ...Apart from that, the current behavior for publications w.r.t exclude tableand schema (--exclude-table, --exclude-schema) option differs from what wedo at other places. We try to avoid including publications forcorresponding tables or schemas when an exclude-table or exclude-schemaoption is given, unlike what we do for views using functions defined in aparticular schema or a subscription pointing to publications with theircorresponding exclude options.I decided not to backpatch this as it leads to a behavior change and we don'tsee any field report for current behavior.Reported-by: Tom Lane <tgl@sss.pgh.pa.us>Author: Vignesh C <vignesh21@gmail.com>Reviewed-by: Amit Kapila <amit.kapila16@gmail.com>Discussion:https://postgr.es/m/1270733.1734134272@sss.pgh.pa.us1 parentf11674f commit4aa6fa3
2 files changed
+28
-31
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4536 | 4536 | | |
4537 | 4537 | | |
4538 | 4538 | | |
4539 | | - | |
4540 | | - | |
4541 | | - | |
4542 | | - | |
4543 | | - | |
4544 | | - | |
4545 | | - | |
4546 | 4539 | | |
4547 | 4540 | | |
4548 | 4541 | | |
| |||
4642 | 4635 | | |
4643 | 4636 | | |
4644 | 4637 | | |
4645 | | - | |
4646 | | - | |
4647 | | - | |
4648 | | - | |
4649 | | - | |
4650 | | - | |
4651 | | - | |
4652 | 4638 | | |
4653 | 4639 | | |
4654 | 4640 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3094 | 3094 | | |
3095 | 3095 | | |
3096 | 3096 | | |
| 3097 | + | |
| 3098 | + | |
| 3099 | + | |
| 3100 | + | |
3097 | 3101 | | |
3098 | 3102 | | |
3099 | 3103 | | |
| |||
3102 | 3106 | | |
3103 | 3107 | | |
3104 | 3108 | | |
3105 | | - | |
3106 | | - | |
3107 | | - | |
3108 | | - | |
3109 | 3109 | | |
3110 | 3110 | | |
| 3111 | + | |
| 3112 | + | |
| 3113 | + | |
3111 | 3114 | | |
3112 | 3115 | | |
3113 | 3116 | | |
| |||
3116 | 3119 | | |
3117 | 3120 | | |
3118 | 3121 | | |
3119 | | - | |
3120 | 3122 | | |
3121 | 3123 | | |
| 3124 | + | |
| 3125 | + | |
| 3126 | + | |
3122 | 3127 | | |
3123 | 3128 | | |
3124 | 3129 | | |
| |||
3127 | 3132 | | |
3128 | 3133 | | |
3129 | 3134 | | |
3130 | | - | |
3131 | 3135 | | |
3132 | 3136 | | |
| 3137 | + | |
| 3138 | + | |
| 3139 | + | |
3133 | 3140 | | |
3134 | 3141 | | |
3135 | 3142 | | |
| |||
3139 | 3146 | | |
3140 | 3147 | | |
3141 | 3148 | | |
3142 | | - | |
3143 | 3149 | | |
3144 | 3150 | | |
| 3151 | + | |
| 3152 | + | |
| 3153 | + | |
3145 | 3154 | | |
3146 | 3155 | | |
3147 | 3156 | | |
| |||
3150 | 3159 | | |
3151 | 3160 | | |
3152 | 3161 | | |
3153 | | - | |
3154 | 3162 | | |
3155 | 3163 | | |
| 3164 | + | |
| 3165 | + | |
| 3166 | + | |
3156 | 3167 | | |
3157 | 3168 | | |
3158 | 3169 | | |
| |||
3162 | 3173 | | |
3163 | 3174 | | |
3164 | 3175 | | |
| 3176 | + | |
| 3177 | + | |
| 3178 | + | |
3165 | 3179 | | |
3166 | 3180 | | |
3167 | 3181 | | |
| |||
3170 | 3184 | | |
3171 | 3185 | | |
3172 | 3186 | | |
3173 | | - | |
3174 | | - | |
3175 | | - | |
3176 | | - | |
3177 | 3187 | | |
3178 | 3188 | | |
| 3189 | + | |
| 3190 | + | |
| 3191 | + | |
3179 | 3192 | | |
3180 | 3193 | | |
3181 | 3194 | | |
| |||
3184 | 3197 | | |
3185 | 3198 | | |
3186 | 3199 | | |
3187 | | - | |
3188 | | - | |
3189 | | - | |
3190 | | - | |
3191 | 3200 | | |
3192 | 3201 | | |
| 3202 | + | |
| 3203 | + | |
| 3204 | + | |
3193 | 3205 | | |
3194 | 3206 | | |
3195 | 3207 | | |
| |||
3199 | 3211 | | |
3200 | 3212 | | |
3201 | 3213 | | |
3202 | | - | |
3203 | 3214 | | |
3204 | 3215 | | |
3205 | 3216 | | |
| |||
0 commit comments
Comments
(0)