Re: Switch to multi-inserts for pg_depend
Michael Paquier <michael@paquier.xyz>
From: Michael Paquier <michael@paquier.xyz>
To: Alvaro Herrera <alvherre@2ndquadrant.com>
Cc: Robert Haas <robertmhaas@gmail.com>, Andres Freund <andres@anarazel.de>, Postgres hackers <pgsql-hackers@lists.postgresql.org>, Daniel Gustafsson <daniel@yesql.se>
Date: 2020-08-31T07:56:06Z
Lists: pgsql-hackers
Attachments
- v2-0001-Use-multi-inserts-for-pg_depend.patch (text/x-diff) patch v2-0001
- v2-0002-Switch-to-multi-insert-dependencies-for-many-code.patch (text/x-diff) patch v2-0002
On Sat, Aug 15, 2020 at 10:50:37AM +0900, Michael Paquier wrote: > What are you suggesting here? A new API layer to manage a set of > slots? It has been a couple of weeks, and I am not really sure what is the suggestion here. So I would like to move on with this patch set as the changes are straight-forward using the existing routines for object addresses by grouping all insert dependencies of the same type. Are there any objections? Attached is a rebased set, where I have added in indexing.h a unique definition for the hard limit of 64kB for the amount of data that can be inserted at once, based on the suggestion from Alvaro and Andres. -- Michael
Commits
-
Switch to multi-inserts when registering dependencies for many code paths
- 8febfd185545 14.0 landed
-
Use multi-inserts for pg_depend
- 63110c6264a5 14.0 landed