]> granicus.if.org Git - postgresql/commit
Un-break pg_dump for pre-8.3 source servers.
authorTom Lane <tgl@sss.pgh.pa.us>
Tue, 13 Aug 2019 20:57:58 +0000 (16:57 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Tue, 13 Aug 2019 20:57:58 +0000 (16:57 -0400)
commit4dea8ad566d3f41102a0ab79c7faefae0af71774
treeee87d27c4e8cd30aaae36c3ff057fa70ba185c1e
parent72f92549b64176e00dad433f8486e302eab8e9bd
Un-break pg_dump for pre-8.3 source servers.

Commit 07b39083c inserted an unconditional reference to pg_opfamily,
which of course fails on servers predating that catalog.  Fortunately,
the case it's trying to solve can't occur on such old servers (AFAIK).
Hence, just skip the additional code when the source predates 8.3.

Per bug #15955 from sly.  Back-patch to all supported branches,
like the previous patch.

Discussion: https://postgr.es/m/15955-1daa2e676e903d87@postgresql.org
src/bin/pg_dump/pg_dump.c