Re: Switch to multi-inserts for pg_depend

Daniel Gustafsson <daniel@yesql.se>

From: Daniel Gustafsson <daniel@yesql.se>
To: Michael Paquier <michael@paquier.xyz>
Cc: Alvaro Herrera <alvherre@2ndquadrant.com>, Robert Haas <robertmhaas@gmail.com>, Andres Freund <andres@anarazel.de>, Postgres hackers <pgsql-hackers@lists.postgresql.org>
Date: 2020-09-03T10:47:22Z
Lists: pgsql-hackers
> On 3 Sep 2020, at 12:19, Michael Paquier <michael@paquier.xyz> wrote:
> 
> On Thu, Sep 03, 2020 at 09:47:07AM +0200, Daniel Gustafsson wrote:
>> I think this version is a clear improvement.  Nothing more sticks out from a
>> read-through.
> 
> Thanks for taking the time to look at it, Daniel.  We of course could
> still try to figure out how we could group all dependencies without
> worrying about their type, but I'd like to leave that as future work
> for now.  This is much more complex than what's proposed on this
> thread, and I am not sure if we really need to make this stuff more
> complex for this purpose.

Agreed,  I think that's a separate piece of work and discussion.

cheers ./daniel


Commits

  1. Switch to multi-inserts when registering dependencies for many code paths

  2. Use multi-inserts for pg_depend