forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit5e65df6
committed
pg_dump: make dumpPublication et al. less unlike sibling functions.
dumpPublication, dumpPublicationNamespace, dumpPublicationTable, anddumpSubscription failed to check dataOnly. This is just a latent bug,because pg_backup_archiver.c would filter out the ArchiveEntry later;but they're wasting cycles in data-only dumps, and the omission mightbecome a live bug someday. In any case, it's not good to have somedumpFoo functions do this and some not.On the same reasoning, make dumpPublicationNamespace follow thesame pattern as every other dumpFoo function for checking theDUMP_COMPONENT_DEFINITION flag. (Since5209c0b, we wouldn'teven get here if that flag isn't set, so checking it is justpro forma right now. But it might not be so forever.)Since this is just cosmetic and/or future-proofing, no need forback-patch.1 parentc9105dd commit5e65df6
1 file changed
+30
-8
lines changedLines changed: 30 additions & 8 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
3847 | 3847 |
| |
3848 | 3848 |
| |
3849 | 3849 |
| |
| 3850 | + | |
3850 | 3851 |
| |
3851 | 3852 |
| |
3852 | 3853 |
| |
3853 | 3854 |
| |
3854 | 3855 |
| |
| 3856 | + | |
| 3857 | + | |
| 3858 | + | |
| 3859 | + | |
3855 | 3860 |
| |
3856 | 3861 |
| |
3857 | 3862 |
| |
| |||
4112 | 4117 |
| |
4113 | 4118 |
| |
4114 | 4119 |
| |
| 4120 | + | |
4115 | 4121 |
| |
4116 | 4122 |
| |
4117 | 4123 |
| |
4118 | 4124 |
| |
4119 | 4125 |
| |
4120 |
| - | |
| 4126 | + | |
| 4127 | + | |
4121 | 4128 |
| |
4122 | 4129 |
| |
4123 | 4130 |
| |
| |||
4131 | 4138 |
| |
4132 | 4139 |
| |
4133 | 4140 |
| |
4134 |
| - | |
4135 |
| - | |
4136 |
| - | |
4137 |
| - | |
4138 |
| - | |
4139 |
| - | |
4140 |
| - | |
| 4141 | + | |
| 4142 | + | |
| 4143 | + | |
| 4144 | + | |
| 4145 | + | |
| 4146 | + | |
| 4147 | + | |
| 4148 | + | |
| 4149 | + | |
| 4150 | + | |
4141 | 4151 |
| |
4142 | 4152 |
| |
4143 | 4153 |
| |
| |||
4150 | 4160 |
| |
4151 | 4161 |
| |
4152 | 4162 |
| |
| 4163 | + | |
4153 | 4164 |
| |
4154 | 4165 |
| |
4155 | 4166 |
| |
4156 | 4167 |
| |
4157 | 4168 |
| |
| 4169 | + | |
| 4170 | + | |
| 4171 | + | |
| 4172 | + | |
4158 | 4173 |
| |
4159 | 4174 |
| |
4160 | 4175 |
| |
| |||
4180 | 4195 |
| |
4181 | 4196 |
| |
4182 | 4197 |
| |
| 4198 | + | |
| 4199 | + | |
4183 | 4200 |
| |
4184 | 4201 |
| |
4185 | 4202 |
| |
| |||
4339 | 4356 |
| |
4340 | 4357 |
| |
4341 | 4358 |
| |
| 4359 | + | |
4342 | 4360 |
| |
4343 | 4361 |
| |
4344 | 4362 |
| |
| |||
4348 | 4366 |
| |
4349 | 4367 |
| |
4350 | 4368 |
| |
| 4369 | + | |
| 4370 | + | |
| 4371 | + | |
| 4372 | + | |
4351 | 4373 |
| |
4352 | 4374 |
| |
4353 | 4375 |
| |
|
0 commit comments
Comments
(0)