aboutsummaryrefslogtreecommitdiff
path: root/src/backend/port/dynloader/netbsd.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2016-10-07 09:51:18 -0400
committerTom Lane <tgl@sss.pgh.pa.us>2016-10-07 09:51:18 -0400
commit4806f26f9e4273888cbf85f42b3bdc5e9d950ba6 (patch)
tree51e2b15f390ccfb5824e01646591afc031aa96f9 /src/backend/port/dynloader/netbsd.c
parent0d4d7d61850f4f4bc5f6fd0b7a9adb70232aed61 (diff)
downloadpostgresql-4806f26f9e4273888cbf85f42b3bdc5e9d950ba6.tar.gz
postgresql-4806f26f9e4273888cbf85f42b3bdc5e9d950ba6.zip
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-type NULLs in the target list, and both that query and the 7.0 one failed to provide the correct output column labels, so that the subsequent code to extract data from the PGresult would fail. Back-patch to 9.6 where the breakage was introduced (by commit 23f34fa4b). Amit Langote and Tom Lane Discussion: <0a3e7a0e-37bd-8427-29bd-958135862f0a@lab.ntt.co.jp>
Diffstat (limited to 'src/backend/port/dynloader/netbsd.c')
0 files changed, 0 insertions, 0 deletions