forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitfc0d0ce
committed
Ignore hash's relallvisible when checking pg_upgrade from pre-v10.
Our cross-version upgrade tests have been failing for some pre-v10source versions since commit1fd1bd8. This turns out to bebecause relallvisible may change for tables that have hash indexes,because the upgrade process forcibly reindexes such indexes todeal with the changes made in v10.Fortunately, the set of tables that have such indexes is smalland won't change anymore in those branches. So just hack upAdjustUpgrade.pm to not compare the relallvisible values ofthose specific tables.While here, also tighten the regex that suppresses comparisonof version fields.Discussion:https://postgr.es/m/812817.1740277228@sss.pgh.pa.us1 parent454c182 commitfc0d0ce
1 file changed
+28
-4
lines changedLines changed: 28 additions & 4 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
296 | 296 |
| |
297 | 297 |
| |
298 | 298 |
| |
299 |
| - | |
300 |
| - | |
| 299 | + | |
| 300 | + | |
301 | 301 |
| |
302 | 302 |
| |
303 | 303 |
| |
| |||
338 | 338 |
| |
339 | 339 |
| |
340 | 340 |
| |
| 341 | + | |
| 342 | + | |
| 343 | + | |
| 344 | + | |
| 345 | + | |
| 346 | + | |
| 347 | + | |
| 348 | + | |
| 349 | + | |
| 350 | + | |
| 351 | + | |
| 352 | + | |
341 | 353 |
| |
342 | 354 |
| |
343 | 355 |
| |
| |||
633 | 645 |
| |
634 | 646 |
| |
635 | 647 |
| |
636 |
| - | |
637 |
| - | |
| 648 | + | |
| 649 | + | |
638 | 650 |
| |
639 | 651 |
| |
640 | 652 |
| |
| |||
673 | 685 |
| |
674 | 686 |
| |
675 | 687 |
| |
| 688 | + | |
| 689 | + | |
| 690 | + | |
| 691 | + | |
| 692 | + | |
| 693 | + | |
| 694 | + | |
| 695 | + | |
| 696 | + | |
| 697 | + | |
| 698 | + | |
| 699 | + | |
676 | 700 |
| |
677 | 701 |
| |
678 | 702 |
| |
|
0 commit comments
Comments
(0)