forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit4806f26
committed
Fix pg_dump to work against pre-9.0 servers again.
getBlobs' queries for pre-9.0 servers were broken in two ways:the 7.x/8.x query uses DISTINCT so it can't have unspecified-typeNULLs in the target list, and both that query and the 7.0 onefailed to provide the correct output column labels, so that thesubsequent code to extract data from the PGresult would fail.Back-patch to 9.6 where the breakage was introduced (by commit23f34fa).Amit Langote and Tom LaneDiscussion: <0a3e7a0e-37bd-8427-29bd-958135862f0a@lab.ntt.co.jp>1 parent0d4d7d6 commit4806f26
1 file changed
+9
-8
lines changedLines changed: 9 additions & 8 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
2875 | 2875 |
| |
2876 | 2876 |
| |
2877 | 2877 |
| |
2878 |
| - | |
2879 |
| - | |
| 2878 | + | |
| 2879 | + | |
2880 | 2880 |
| |
2881 | 2881 |
| |
2882 | 2882 |
| |
2883 | 2883 |
| |
2884 |
| - | |
2885 |
| - | |
2886 |
| - | |
| 2884 | + | |
| 2885 | + | |
| 2886 | + | |
| 2887 | + | |
2887 | 2888 |
| |
2888 | 2889 |
| |
2889 | 2890 |
| |
2890 |
| - | |
| 2891 | + | |
2891 | 2892 |
| |
2892 | 2893 |
| |
2893 | 2894 |
| |
| |||
2922 | 2923 |
| |
2923 | 2924 |
| |
2924 | 2925 |
| |
2925 |
| - | |
| 2926 | + | |
| 2927 | + | |
2926 | 2928 |
| |
2927 | 2929 |
| |
2928 | 2930 |
| |
2929 |
| - | |
2930 | 2931 |
| |
2931 | 2932 |
| |
2932 | 2933 |
| |
|
0 commit comments
Comments
(0)