forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitf39bb48
committed
Fix incorrect logic for excluding range constructor functions in pg_dump.
Faulty AND/OR nesting in the WHERE clause of getFuncs' SQL query led todumping range constructor functions if they are part of an extensionand we're in binary-upgrade mode. Actually, we don't want to dump themseparately even then, since CREATE TYPE AS RANGE will create the range'sconstructor functions regardless. Per report from Andrew Dunstan.It looks like this mistake was introduced by me, in commitb985d48, inperhaps-overzealous refactoring to reduce code duplication. I'm suitablyembarrassed.Report: <34854939-02d7-f591-5677-ce2994104599@dunslane.net>1 parent73df86a commitf39bb48
1 file changed
+21
-16
lines changedLines changed: 21 additions & 16 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
4179 | 4179 |
| |
4180 | 4180 |
| |
4181 | 4181 |
| |
4182 |
| - | |
4183 |
| - | |
4184 |
| - | |
4185 |
| - | |
4186 |
| - | |
4187 |
| - | |
| 4182 | + | |
4188 | 4183 |
| |
4189 |
| - | |
4190 |
| - | |
4191 |
| - | |
4192 |
| - | |
4193 |
| - | |
4194 |
| - | |
| 4184 | + | |
| 4185 | + | |
| 4186 | + | |
| 4187 | + | |
| 4188 | + | |
| 4189 | + | |
| 4190 | + | |
| 4191 | + | |
| 4192 | + | |
| 4193 | + | |
| 4194 | + | |
| 4195 | + | |
| 4196 | + | |
| 4197 | + | |
4195 | 4198 |
| |
4196 | 4199 |
| |
4197 | 4200 |
| |
| |||
4202 | 4205 |
| |
4203 | 4206 |
| |
4204 | 4207 |
| |
4205 |
| - | |
4206 |
| - | |
4207 |
| - | |
4208 |
| - | |
| 4208 | + | |
4209 | 4209 |
| |
4210 | 4210 |
| |
4211 | 4211 |
| |
4212 | 4212 |
| |
4213 | 4213 |
| |
4214 | 4214 |
| |
| 4215 | + | |
| 4216 | + | |
| 4217 | + | |
| 4218 | + | |
| 4219 | + | |
4215 | 4220 |
| |
4216 | 4221 |
| |
4217 | 4222 |
| |
|
0 commit comments
Comments
(0)