Re: improve performance of pg_dump --binary-upgrade
Nathan Bossart <nathandbossart@gmail.com>
From: Nathan Bossart <nathandbossart@gmail.com>
To: Daniel Gustafsson <daniel@yesql.se>
Cc: PostgreSQL Hackers <pgsql-hackers@postgresql.org>
Date: 2024-04-18T20:28:13Z
Lists: pgsql-hackers
Attachments
On Thu, Apr 18, 2024 at 10:23:01AM -0500, Nathan Bossart wrote: > On Thu, Apr 18, 2024 at 09:24:53AM +0200, Daniel Gustafsson wrote: >> That does indeed seem like a saner approach. Since we look up the relkind we >> can also remove the is_index parameter to binary_upgrade_set_pg_class_oids >> since we already know that without the caller telling us? > > Yeah. It looks like that's been possible since commit 9a974cb, so I can > write a prerequisite patch for this. Here's a new patch set with this change. -- Nathan Bossart Amazon Web Services: https://aws.amazon.com
Commits
-
Improve performance of binary_upgrade_set_pg_class_oids().
- 2329cad1b93f 18.0 landed
-
Remove is_index parameter from binary_upgrade_set_pg_class_oids().
- 6e1c4a03a978 18.0 landed
-
pg_upgrade: Preserve relfilenodes and tablespace OIDs.
- 9a974cbcba00 15.0 cited
-
pg_dump: minor performance improvements from eliminating sub-SELECTs.
- d5e8930f50e3 15.0 cited