pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andrew Dunstan <andrew@dunslane.net>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Collect attribute data on extension owned tables being dumped
Date: Fri, 04 Sep 2020 17:55:55 +0000
Message-ID: <E1kEFwJ-0001lp-Be@gemulon.postgresql.org> (raw)

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(-)



view thread (3+ messages)  latest in thread

Message-ID: <E1kEFwJ-0001lp-Be@gemulon.postgresql.org>
Permalink:  ../E1kEFwJ-0001lp-Be@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1kEFwJ-0001lp-Be@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: andrew@dunslane.net
  Subject: Re: pgsql: Collect attribute data on extension owned tables being dumped
  In-Reply-To: <E1kEFwJ-0001lp-Be@gemulon.postgresql.org>
  References: <E1kEFwJ-0001lp-Be@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox