pgsql: Collect attribute data on extension owned tables being dumped

From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Collect attribute data on extension owned tables being dumped
Date: 2020-09-04 17:55:55
Message-ID: E1kEFwJ-0001lp-Be@gemulon.postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Collect attribute data on extension owned tables being dumped

If this data is not collected, pg_dump segfaults if asked for column
inserts.

Fix by Fabrízio de Royes Mello

Backpatch to release 12 where the bug was introduced.

Branch
------
REL_13_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/72857482c135677703111855f33550c442108eaa

Modified Files
--------------
src/bin/pg_dump/pg_dump.c | 4 ++++
src/test/modules/test_pg_dump/t/001_base.pl | 24 ++++++++++++++++++++--
.../modules/test_pg_dump/test_pg_dump--1.0.sql | 5 +++++
3 files changed, 31 insertions(+), 2 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2020-09-04 18:32:49 pgsql: Remove some more useless assignments.
Previous Message Bruce Momjian 2020-09-04 17:28:09 pgsql: C comment: correct use of 64-"byte" cache line size