]> granicus.if.org Git - postgresql/commit
pg_upgrade: Ignore TOAST for partitioned tables
authorAlvaro Herrera <alvherre@alvh.no-ip.org>
Sun, 10 Mar 2019 16:20:58 +0000 (13:20 -0300)
committerAlvaro Herrera <alvherre@alvh.no-ip.org>
Sun, 10 Mar 2019 16:20:58 +0000 (13:20 -0300)
commit203749a8a66096171f808dd8e870d08d8ad57e5e
tree3b7fffda77f243ed6aff9a69f52b6d6a1d0ae653
parentf2e403803fe6deb8cff59ea09dff42c6163b2110
pg_upgrade: Ignore TOAST for partitioned tables

Since partitioned tables in pg12 do not have toast tables, trying to set
the toast OID confuses pg_upgrade.  Have pg_dump omit those values to
avoid the problem.

Per Andres Freund and buildfarm members crake and snapper
Discussion: https://postgr.es/m/20190306204104.yle5jfbnqkcwykni@alap3.anarazel.de
src/bin/pg_dump/pg_dump.c