pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Michael Paquier <michael@paquier.xyz>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Refactor creation of normal dependency records when creating ext
Date: Wed, 01 Jul 2020 02:15:14 +0000
Message-ID: <E1jqSHK-0004uw-6d@gemulon.postgresql.org> (raw)

Refactor creation of normal dependency records when creating extension

When creating an extension, the same type of dependency is used when
registering a dependency to a schema and required extensions.  This
improves the code so as those dependencies are not recorded one-by-one,
but grouped together.  Note that this has as side effect to remove
duplicate dependency entries, even if it should not happen in practice
as extensions listed as required in a control file should be listed only
once.

Extracted from a larger patch by the same author.

Author: Daniel Dustafsson
Discussion: https://postgr.es/m/20200629065535.GA183079@paquier.xyz

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/684b4f29b729e5b135d256802d6e712222b9551f

Modified Files
--------------
src/backend/commands/extension.c | 24 ++++++++++++------------
1 file changed, 12 insertions(+), 12 deletions(-)



Message-ID: <E1jqSHK-0004uw-6d@gemulon.postgresql.org>
Permalink:  ../E1jqSHK-0004uw-6d@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1jqSHK-0004uw-6d@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: michael@paquier.xyz
  Subject: Re: pgsql: Refactor creation of normal dependency records when creating ext
  In-Reply-To: <E1jqSHK-0004uw-6d@gemulon.postgresql.org>
  References: <E1jqSHK-0004uw-6d@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