Re: Switch to multi-inserts for pg_depend

Michael Paquier <michael@paquier.xyz>

From: Michael Paquier <michael@paquier.xyz>
To: Daniel Gustafsson <daniel@yesql.se>
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:19:35Z
Lists: pgsql-hackers
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.
--
Michael

Commits

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

  2. Use multi-inserts for pg_depend