- Notifications
You must be signed in to change notification settings - Fork5.2k
Commitf0d0083
committed
pg_dump: Fix query for gathering attribute stats on older versions.
Commit9c02e3a taught pg_dump to retrieve attribute statisticsfor 64 relations at a time. pg_dump supports dumping from v9.2 andnewer versions, but our query for retrieving statistics formultiple relations uses WITH ORDINALITY and multi-argumentUNNEST(), both of which were introduced in v9.4. To fix, we resortto gathering statistics for a single relation at a time on versionsolder than v9.4.Per buildfarm member crake.Author: Corey Huinker <corey.huinker@gmail.com>Discussion:https://postgr.es/m/Z_BcWVMvlUIJ_iuZ%40nathan1 parent43b8e6c commitf0d0083
1 file changed
+30
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10571 | 10571 | | |
10572 | 10572 | | |
10573 | 10573 | | |
| 10574 | + | |
| 10575 | + | |
| 10576 | + | |
| 10577 | + | |
| 10578 | + | |
| 10579 | + | |
| 10580 | + | |
| 10581 | + | |
| 10582 | + | |
| 10583 | + | |
10574 | 10584 | | |
10575 | 10585 | | |
10576 | 10586 | | |
| |||
10596 | 10606 | | |
10597 | 10607 | | |
10598 | 10608 | | |
10599 | | - | |
| 10609 | + | |
10600 | 10610 | | |
10601 | 10611 | | |
10602 | 10612 | | |
| |||
10709 | 10719 | | |
10710 | 10720 | | |
10711 | 10721 | | |
| 10722 | + | |
| 10723 | + | |
| 10724 | + | |
| 10725 | + | |
| 10726 | + | |
10712 | 10727 | | |
10713 | | - | |
10714 | | - | |
10715 | | - | |
10716 | | - | |
10717 | | - | |
10718 | | - | |
10719 | | - | |
| 10728 | + | |
| 10729 | + | |
| 10730 | + | |
| 10731 | + | |
| 10732 | + | |
| 10733 | + | |
| 10734 | + | |
| 10735 | + | |
| 10736 | + | |
| 10737 | + | |
| 10738 | + | |
| 10739 | + | |
| 10740 | + | |
| 10741 | + | |
10720 | 10742 | | |
10721 | 10743 | | |
10722 | 10744 | | |
| |||
0 commit comments
Comments
(0)